1
0
Fork 0
mirror of https://github.com/betaflight/betaflight-configurator.git synced 2025-07-24 16:55:24 +03:00

Set correct MSP API version number for version gate.

This commit is contained in:
Michael Keller 2017-01-17 07:45:25 +13:00
parent aa4d17f683
commit 39840c5a06

View file

@ -35,7 +35,7 @@ TABS.ports.initialize = function (callback, scrollPosition) {
functionRules.push({ name: 'TBS_SMARTAUDIO', groups: ['peripherals'], maxPorts: 1 });
}
if (semver.gte(CONFIG.apiVersion, "1.28.0")) {
if (semver.gte(CONFIG.apiVersion, "1.27.0")) {
functionRules.push({ name: 'IRC_TRAMP', groups: ['peripherals'], maxPorts: 1 });
}
for (var i = 0; i < functionRules.length; i++) {