Skip to content

Commit

Permalink
Update dynamic notch
Browse files Browse the repository at this point in the history
For the new multi dynamic notch in Betaflight 4.3.
Replaced  "Width"/"Q" with "Count"/"Bandwidth".
betaflight/betaflight#10554
  • Loading branch information
klutvott123 committed Oct 24, 2021
1 parent af7e1ab commit 8406e14
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/SCRIPTS/BF/PAGES/filters2.lua
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ if apiVersion >= 1.042 then
if apiVersion < 1.043 then
fields[#fields + 1] = { t = "Range", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 0, max = 3, vals = { 38 }, table = { [0]="HIGH", "MEDIUM", "LOW", "AUTO" } }
end
fields[#fields + 1] = { t = "Width %", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 0, max = 20, vals = { 39 } }
if apiVersion >= 1.044 then
fields[#fields + 1] = { t = "Count", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 0, max = 5, vals = { 49 } }
else
fields[#fields + 1] = { t = "Width %", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 0, max = 20, vals = { 39 } }
end
fields[#fields + 1] = { t = "Q", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 1, max = 1000, vals = { 40, 41 } }
if apiVersion >= 1.043 then
fields[#fields + 1] = { t = "Min Frequency", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 60, max = 250, vals = { 42, 43 } }
Expand Down

0 comments on commit 8406e14

Please sign in to comment.