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

Fixed off-by-one version checking bug in OSD tab.

This commit is contained in:
mikeller 2017-11-18 17:45:16 +13:00
parent 2a55145163
commit e8d5faba7f

View file

@ -1007,7 +1007,7 @@ OSD.msp = {
// This value was obsoleted by the introduction of configurable timers, and has been reused to encode the number of display elements sent in this command
view.readU8();
var tmp = view.readU8();
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
if (semver.gte(CONFIG.apiVersion, "1.37.0")) {
displayItemsCountActual = tmp;
}
}