diff --git a/locales/en/messages.json b/locales/en/messages.json index fe43bfbf..857ffa10 100644 --- a/locales/en/messages.json +++ b/locales/en/messages.json @@ -3655,6 +3655,12 @@ "osdDescStatEscRpm": { "message": "Max ESC RPM" }, + "osdDescStatMinLinkQuality": { + "message": "Minimum of the alternative indicator for 'link quality' based on frame loss" + }, + "osdDescStatTotalDistance": { + "message": "Total distance travelled during the flight" + }, "osdTimerSource": { diff --git a/src/js/tabs/osd.js b/src/js/tabs/osd.js index cd83baae..3a5ace9d 100755 --- a/src/js/tabs/osd.js +++ b/src/js/tabs/osd.js @@ -802,7 +802,7 @@ OSD.constants = { preview: '1.0G' }, MOTOR_DIAG: { - name: 'MOTOR_DIAG', + name: 'MOTOR_DIAGNOSTICS', desc: 'osdDescElementMotorDiag', default_position: -1, draw_order: 325, @@ -837,7 +837,7 @@ OSD.constants = { preview: '8' }, TOTAL_DIST: { - name: 'TOTAL_DIST', + name: 'TOTAL_DISTANCE', desc: 'osdDescElementTotalDist', default_position: -1, draw_order: 360, @@ -930,6 +930,14 @@ OSD.constants = { MAX_ESC_RPM: { name: 'MAX_ESC_RPM', desc: 'osdDescStatEscRpm' + }, + MIN_LINK_QUALITY: { + name: 'MIN_LINK_QUALITY', + desc: 'osdDescStatMinLinkQuality' + }, + TOTAL_DISTANCE: { + name: 'TOTAL_DISTANCE', + desc: 'osdDescStatTotalDistance' } }, ALL_WARNINGS: { @@ -1167,8 +1175,10 @@ OSD.chooseFields = function () { ]; if (semver.gte(CONFIG.apiVersion, "1.41.0")) { OSD.constants.STATISTIC_FIELDS = OSD.constants.STATISTIC_FIELDS.concat([ - F.MAX_ESC_TEMP, - F.MAX_ESC_RPM + F.MAX_ESC_TEMP, + F.MAX_ESC_RPM, + F.MIN_LINK_QUALITY, + F.TOTAL_DISTANCE ]); } }