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

rebase error and element ordering fix

This commit is contained in:
Kiripolszky Károly 2018-07-03 16:50:38 +02:00
parent 27bd8429fa
commit de395f0f58

View file

@ -1022,16 +1022,11 @@ OSD.chooseFields = function () {
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
F.ANTI_GRAVITY
]);
if (semver.gte(CONFIG.apiVersion, "1.39.0")) {
if (semver.gte(CONFIG.apiVersion, "1.40.0")) {
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
F.ANTI_GRAVITY
]);
if (semver.gte(CONFIG.apiVersion, "1.40.0")) {
OSD.constants.DISPLAY_FIELDS = OSD.constants.DISPLAY_FIELDS.concat([
F.LOG_STATUS,
F.G_FORCE,
]);
}
F.G_FORCE,
F.LOG_STATUS,
]);
}
}
}