Skip to content

Commit

Permalink
Move column
Browse files Browse the repository at this point in the history
Moved second text/fields columns to the right to avoid overlapping
  • Loading branch information
klutvott123 committed Sep 23, 2018
1 parent dd80021 commit ba5f672
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/SCRIPTS/BF/X7/pwm.lua
Expand Up @@ -9,19 +9,19 @@ return {
{ t = "32K", x = 10, y = 14, to = SMLSIZE },
{ t = "Gyro", x = 10, y = 24, to = SMLSIZE },
{ t = "PID", x = 10, y = 34, to = SMLSIZE },
{ t = "Prot", x = 55, y = 14, to = SMLSIZE },
{ t = "Unsync", x = 55, y = 24, to = SMLSIZE },
{ t = "PWM", x = 55, y = 34, to = SMLSIZE },
{ t = "Offset", x =45, y = 44, to = SMLSIZE }
{ t = "Prot", x = 58, y = 14, to = SMLSIZE },
{ t = "Unsync", x = 58, y = 24, to = SMLSIZE },
{ t = "PWM", x = 58, y = 34, to = SMLSIZE },
{ t = "Offset", x = 48, y = 44, to = SMLSIZE }
},
fields = {
{ x = 32, y = 14, vals = { 9 }, min = 0, max = 1, to = SMLSIZE, table = { [0] = "OFF", "ON" }, upd = function(self) self.updateRateTables(self) end },
{ x = 32, y = 24, vals = { 1 }, min = 1, max = 32, to = SMLSIZE, upd = function(self) self.updatePidRateTable(self) end },
{ x = 32, y = 34, vals = { 2 }, min = 1, max = 16, to = SMLSIZE, },
{ x = 85, y = 14, vals = { 4 }, min = 0, max = 9, to = SMLSIZE, table = { [0] = "OFF", "OS125", "OS42", "MSHOT","BRSH", "DS150", "DS300", "DS600","DS1200", "PS1000" } },
{ x = 85, y = 24, vals = { 3 }, min = 0, max = 1, to = SMLSIZE, table = { [0] = "OFF", "ON" } },
{ x = 85, y = 34, vals = { 5, 6 }, min = 200, max = 32000, to = SMLSIZE },
{ x = 85, y = 44, vals = { 7, 8 }, min = 0, max = 2000, to = SMLSIZE, scale = 100 },
{ x = 90, y = 14, vals = { 4 }, min = 0, max = 9, to = SMLSIZE, table = { [0] = "OFF", "OS125", "OS42", "MSHOT","BRSH", "DS150", "DS300", "DS600","DS1200", "PS1000" } },
{ x = 90, y = 24, vals = { 3 }, min = 0, max = 1, to = SMLSIZE, table = { [0] = "OFF", "ON" } },
{ x = 90, y = 34, vals = { 5, 6 }, min = 200, max = 32000, to = SMLSIZE },
{ x = 90, y = 44, vals = { 7, 8 }, min = 0, max = 2000, to = SMLSIZE, scale = 100 },
},
calculateGyroRates = function(self, baseRate)
self.gyroRates = {}
Expand Down

0 comments on commit ba5f672

Please sign in to comment.