We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4592923 commit 33d0dbaCopy full SHA for 33d0dba
src/SCRIPTS/BF/protocols.lua
@@ -27,9 +27,9 @@ local supportedProtocols =
27
}
28
29
local function getProtocol()
30
- if supportedProtocols.smartPort.push() then
+ if supportedProtocols.smartPort.push() ~= nil then
31
return supportedProtocols.smartPort
32
- elseif supportedProtocols.crsf.push() then
+ elseif supportedProtocols.crsf.push() ~= nil then
33
return supportedProtocols.crsf
34
end
35
0 commit comments