File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -210,9 +210,9 @@ function inav.background()
210210 data .headFree = false
211211 data .headingHold = false
212212 data .altHold = false
213- local modeA = data .mode * 0.000001
214- local modeB = data .mode * 0.00001
215- local modeC = data .mode * 0.0001
213+ local modeA = data .mode * 0.000001 % 10
214+ local modeB = data .mode * 0.00001 % 10
215+ local modeC = data .mode * 0.0001 % 10
216216 local modeD = data .mode * 0.001 % 10
217217 local modeE = data .mode * 0.01 % 10
218218 local modeF = data .mode * 0.1 % 10
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ local function crsf(data)
121121 elseif data .fm == " TURT" then
122122 data .mode = 200005
123123 elseif data .fm == " WRTH" then
124- data .mode = 10000215
124+ data .mode = 1000215
125125 elseif data .fm == " LOTR" then
126126 data .mode = 800215
127127 elseif data .fm == " ANGH" then
You can’t perform that action at this time.
0 commit comments