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:
parent
27bd8429fa
commit
de395f0f58
1 changed files with 4 additions and 9 deletions
|
@ -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,
|
||||
]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue