Merge pull request #710 from Harpalyke/missing_configurable_warnings_prevent_saving_alarms
Fix for saving alarms in osd tab on Betaflight 3.2.210.3.x-maintenance
commit
f723af3b76
|
@ -926,7 +926,7 @@ OSD.msp = {
|
|||
result.push16(0);
|
||||
}
|
||||
result.push16(OSD.data.alarms.alt.value);
|
||||
if (semver.gte(CONFIG.apiVersion, "1.36.0")) {
|
||||
if (semver.gte(CONFIG.apiVersion, "1.37.0")) {
|
||||
var warningFlags = 0;
|
||||
for (var i = 0; i < OSD.constants.WARNINGS.length; i++) {
|
||||
if (OSD.data.warnings[i].enabled) {
|
||||
|
|
Loading…
Reference in New Issue