mirror of
https://github.com/betaflight/betaflight-configurator.git
synced 2025-07-26 01:35:28 +03:00
Fixed off-by-one version checking bug in OSD tab.
This commit is contained in:
parent
2a55145163
commit
e8d5faba7f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
// 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();
|
view.readU8();
|
||||||
var tmp = view.readU8();
|
var tmp = view.readU8();
|
||||||
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
|
if (semver.gte(CONFIG.apiVersion, "1.37.0")) {
|
||||||
displayItemsCountActual = tmp;
|
displayItemsCountActual = tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue