Skip to content

Commit 1bd84d2

Browse files
authored
Merge pull request #334 from klutvott123/motor-protocol-disable
2 parents b68218b + 6235663 commit 1bd84d2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/SCRIPTS/BF/PAGES/pwm.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ if apiVersion >= 1.031 then
3333
end
3434
end
3535

36+
if apiVersion >= 1.043 then
37+
escProtocols[#escProtocols + 1] = "DISABLED"
38+
end
39+
3640
if apiVersion >= 1.031 and apiVersion <= 1.040 then
3741
fields[#fields + 1] = { t = "32kHz Sampling", x = x, y = inc.y(lineSpacing), sp = x + sp, min = 0, max = 1, vals = { 9 }, table = { [0] = "OFF", "ON" }, upd = function(self) self.updateRateTables(self) end }
3842
end

0 commit comments

Comments
 (0)