Skip to content

Commit e8d5fab

Browse files
committed
Fixed off-by-one version checking bug in OSD tab.
1 parent 2a55145 commit e8d5fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tabs/osd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1007,7 +1007,7 @@ OSD.msp = {
10071007
// 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
10081008
view.readU8();
10091009
var tmp = view.readU8();
1010-
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
1010+
if (semver.gte(CONFIG.apiVersion, "1.37.0")) {
10111011
displayItemsCountActual = tmp;
10121012
}
10131013
}

0 commit comments

Comments
 (0)