Skip to content
This repository was archived by the owner on Oct 26, 2025. It is now read-only.

Commit b0fe7ac

Browse files
authored
Merge pull request #9 from stronnag/fixCRSF
fix CSRF CRUZ mode
2 parents 5c1c50f + 16d6d20 commit b0fe7ac

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

LTM/crsf.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function C.get_status_info(D)
7373
ltmmode = 8
7474
elseif fm == "HOLD" then
7575
ltmmode = 9
76-
elseif fm == "CRS" or fm == "3CRS" or fm == "CRSH" || fm == "CRUZ" then
76+
elseif fm == "CRS" or fm == "3CRS" or fm == "CRSH" or fm == "CRUZ" then
7777
ltmmode = 18
7878
elseif fm == "WP" then
7979
ltmmode = 10

ltm.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ local function init()
345345
D.sim = true
346346
end
347347

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

0 commit comments

Comments
 (0)