Skip to content

Commit 0b5d9db

Browse files
committed
VTX page fixed for NV14
1 parent 3706469 commit 0b5d9db

File tree

2 files changed

+15
-17
lines changed

2 files changed

+15
-17
lines changed

src/SCRIPTS/BF/NV14/rescue.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ return {
1212
{ t = "Initial Altitude", x = 10, y = 120 },
1313
{ t = "Descent Distance", x = 10, y = 160 },
1414
{ t = "Ground Speed", x = 10, y = 200 },
15-
15+
1616
{ t = "Snty.", x = 10, y = 240 },
1717
{ t = "Throttle", x = 10, y = 280 },
1818
{ t = "Min", x = 10, y = 320 },

src/SCRIPTS/BF/NV14/vtx.lua

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -12,36 +12,34 @@ return {
1212
lastFreqUpdTS = 0,
1313
freqModCounter = 0,
1414
text= {
15-
{ t = "Proto", x = 36, y = 68 },
16-
{ t = "Band", x = 36, y = 110 },
17-
{ t = "Channel", x = 36, y = 155 },
18-
{ t = "Freq", x = 36, y = 200 },
15+
{ t = "Band", x = 36, y = 155 },
16+
{ t = "Channel", x = 36, y = 200 },
1917
{ t = "Power", x = 36, y = 242 },
2018
{ t = "Pit", x = 36, y = 284 },
21-
22-
19+
{ t = "Proto", x = 36, y = 68 },
20+
{ t = "Freq", x = 36, y = 110 },
2321
},
2422
fields = {
25-
-- Proto
26-
{ x = 150, y = 68, vals = { 1 }, to = MIDSIZE,
27-
write = false, ro = true,
28-
table = { [1]="RTC6705",[3]="SmartAudio",[4]="Tramp",[255]="None"} },
2923
-- Band
30-
{ x = 150, y = 110, min=0, max=5, vals = { 2 }, to = MIDSIZE,
24+
{ x = 150, y = 155, min=0, max=5, vals = { 2 }, to = MIDSIZE,
3125
table = { [0]="U", "A", "B", "E", "F", "R" },
3226
upd = function(self) self.handleBandChanUpdate(self) end },
3327
-- Channel
34-
{ x = 150, y = 155, min=1, max=8, vals = { 3 }, to = MIDSIZE,
28+
{ x = 150, y = 200, min=1, max=8, vals = { 3 }, to = MIDSIZE,
3529
upd = function(self) self.handleBandChanUpdate(self) end },
36-
-- Freq
37-
{ x = 150, y = 200, min = 5000, max = 5999, vals = { 6 }, to = MIDSIZE,
38-
upd = function(self) self.handleFreqValUpdate(self) end },
39-
-- Power
30+
-- Power
4031
{ x = 150, y = 242, min=1, vals = { 4 }, to = MIDSIZE,
4132
upd = function(self) self.updatePowerTable(self) end },
4233
-- Pit mode
4334
{ x = 150, y = 284, min=0, max=1, vals = { 5 }, to = MIDSIZE,
4435
table = { [0]="OFF", "ON" } },
36+
-- Proto
37+
{ x = 150, y = 68, vals = { 1 }, to = MIDSIZE,
38+
write = false, ro = true,
39+
table = { [1]="RTC6705",[3]="SmartAudio",[4]="Tramp",[255]="None"} },
40+
-- Freq
41+
{ x = 150, y = 110, min = 5000, max = 5999, vals = { 6 }, to = MIDSIZE,
42+
upd = function(self) self.handleFreqValUpdate(self) end },
4543
},
4644
freqLookup = {
4745
{ 5865, 5845, 5825, 5805, 5785, 5765, 5745, 5725 }, -- Boscam A

0 commit comments

Comments
 (0)