MAX_G_FORCE got added after the 1.40 release

10.5.x-maintenance
Steffen Windoffer 2019-01-08 00:00:03 +01:00
parent adc2ea92b7
commit 5a4cb3b916
1 changed files with 2 additions and 2 deletions

View File

@ -1174,11 +1174,11 @@ OSD.chooseFields = function () {
F.USED_MAH,
F.MAX_ALTITUDE,
F.BLACKBOX,
F.BLACKBOX_LOG_NUMBER,
F.MAX_G_FORCE
F.BLACKBOX_LOG_NUMBER
];
if (semver.gte(CONFIG.apiVersion, "1.41.0")) {
OSD.constants.STATISTIC_FIELDS = OSD.constants.STATISTIC_FIELDS.concat([
F.MAX_G_FORCE,
F.MAX_ESC_TEMP,
F.MAX_ESC_RPM,
F.MIN_LINK_QUALITY,