Skip to content

Commit

Permalink
Merge pull request #9 from stronnag/fixCRSF
Browse files Browse the repository at this point in the history
fix CSRF CRUZ mode
  • Loading branch information
stronnag authored Jul 26, 2022
2 parents 5c1c50f + 16d6d20 commit b0fe7ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LTM/crsf.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ function C.get_status_info(D)
ltmmode = 8
elseif fm == "HOLD" then
ltmmode = 9
elseif fm == "CRS" or fm == "3CRS" or fm == "CRSH" || fm == "CRUZ" then
elseif fm == "CRS" or fm == "3CRS" or fm == "CRSH" or fm == "CRUZ" then
ltmmode = 18
elseif fm == "WP" then
ltmmode = 10
Expand Down
2 changes: 1 addition & 1 deletion ltm.lua
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ local function init()
D.sim = true
end

S = loadScript("/SCRIPTS/FUNCTIONS/LTM/config.lua")()
S = loadScript("/SCRIPTS/FUNCTIONS/LTM/config.lua")
dolog("Tracker only " .. string.format("%s",S.onlyTracker))
if rmaj >= 2 and rmin >= 3 and rrev >= 12 then
if S.baudrate > 0 then
Expand Down

0 comments on commit b0fe7ac

Please sign in to comment.