Load SENSOR_CONFIG before showing OSD UI

SENSOR_CONFIG is used for OSD_AIR_SPEED detection
pull/263/head
Alberto García Hierro 7 years ago
parent 6e17c69fd1
commit 968905a513

@ -1204,7 +1204,11 @@ TABS.osd.initialize = function (callback) {
}
});
GUI.content_ready(callback);
// Update SENSOR_CONFIG, used to detect
// OSD_AIR_SPEED
mspHelper.loadSensorConfig(function () {
GUI.content_ready(callback);
});
});
};

Loading…
Cancel
Save