Skip to content

Commit dd4b5d0

Browse files
authored
Merge pull request #170 from klutvott123/move-PWM-column-QX7
Move PWM columns for QX7
2 parents dd80021 + ba5f672 commit dd4b5d0

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/SCRIPTS/BF/X7/pwm.lua

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ return {
99
{ t = "32K", x = 10, y = 14, to = SMLSIZE },
1010
{ t = "Gyro", x = 10, y = 24, to = SMLSIZE },
1111
{ t = "PID", x = 10, y = 34, to = SMLSIZE },
12-
{ t = "Prot", x = 55, y = 14, to = SMLSIZE },
13-
{ t = "Unsync", x = 55, y = 24, to = SMLSIZE },
14-
{ t = "PWM", x = 55, y = 34, to = SMLSIZE },
15-
{ t = "Offset", x =45, y = 44, to = SMLSIZE }
12+
{ t = "Prot", x = 58, y = 14, to = SMLSIZE },
13+
{ t = "Unsync", x = 58, y = 24, to = SMLSIZE },
14+
{ t = "PWM", x = 58, y = 34, to = SMLSIZE },
15+
{ t = "Offset", x = 48, y = 44, to = SMLSIZE }
1616
},
1717
fields = {
1818
{ x = 32, y = 14, vals = { 9 }, min = 0, max = 1, to = SMLSIZE, table = { [0] = "OFF", "ON" }, upd = function(self) self.updateRateTables(self) end },
1919
{ x = 32, y = 24, vals = { 1 }, min = 1, max = 32, to = SMLSIZE, upd = function(self) self.updatePidRateTable(self) end },
2020
{ x = 32, y = 34, vals = { 2 }, min = 1, max = 16, to = SMLSIZE, },
21-
{ x = 85, y = 14, vals = { 4 }, min = 0, max = 9, to = SMLSIZE, table = { [0] = "OFF", "OS125", "OS42", "MSHOT","BRSH", "DS150", "DS300", "DS600","DS1200", "PS1000" } },
22-
{ x = 85, y = 24, vals = { 3 }, min = 0, max = 1, to = SMLSIZE, table = { [0] = "OFF", "ON" } },
23-
{ x = 85, y = 34, vals = { 5, 6 }, min = 200, max = 32000, to = SMLSIZE },
24-
{ x = 85, y = 44, vals = { 7, 8 }, min = 0, max = 2000, to = SMLSIZE, scale = 100 },
21+
{ x = 90, y = 14, vals = { 4 }, min = 0, max = 9, to = SMLSIZE, table = { [0] = "OFF", "OS125", "OS42", "MSHOT","BRSH", "DS150", "DS300", "DS600","DS1200", "PS1000" } },
22+
{ x = 90, y = 24, vals = { 3 }, min = 0, max = 1, to = SMLSIZE, table = { [0] = "OFF", "ON" } },
23+
{ x = 90, y = 34, vals = { 5, 6 }, min = 200, max = 32000, to = SMLSIZE },
24+
{ x = 90, y = 44, vals = { 7, 8 }, min = 0, max = 2000, to = SMLSIZE, scale = 100 },
2525
},
2626
calculateGyroRates = function(self, baseRate)
2727
self.gyroRates = {}

0 commit comments

Comments
 (0)