File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -895,7 +895,10 @@ local function checkCrsfModule()
895895 for modIdx = 0 , 1 do
896896 local mod = model .getModule (modIdx )
897897 if mod and (mod .Type == nil or mod .Type == 5 ) then
898- -- CRSF found
898+ -- CRSF found, put module type in Loading message
899+ local modDescrip = (mod .Type == nil ) and " awaiting" or (modIdx == 0 ) and " Internal" or " External"
900+ -- Prefix with "Lua rXXX" from between EXITVER parens
901+ deviceName = string.match (EXITVER , " %((.*)%)" ) .. modDescrip .. " TX..."
899902 checkCrsfModule = nil
900903 return 0
901904 end
@@ -932,8 +935,6 @@ local function init()
932935 setMock ()
933936 setLCDvar = nil
934937 setMock = nil
935- -- Extract the "Lua rXXX" from the parens
936- deviceName = string.match (EXITVER , " %((.*)%)" ) .. " loading..."
937938end
938939
939940-- Main
You can’t perform that action at this time.
0 commit comments