diff options
author | Niccolò Maggioni <nicco.maggioni@gmail.com> | 2018-11-06 16:36:27 +0300 |
---|---|---|
committer | Niccolò Maggioni <nicco.maggioni@gmail.com> | 2018-11-06 16:36:27 +0300 |
commit | 303bfbe85d21655afa8e7921019e2d49fa634e51 (patch) | |
tree | 56527bb6f888c77c7e8b29d5ae9bc6b9c05a2fdf | |
parent | 4970260a03f9565bb2e9ef32b390f2d72d6baf9b (diff) |
Rewording & refactoring
-rwxr-xr-x | _locales/en/messages.json | 6 | ||||
-rw-r--r-- | tabs/osd.js | 7 |
2 files changed, 6 insertions, 7 deletions
diff --git a/_locales/en/messages.json b/_locales/en/messages.json index d6ee7e66..9236757f 100755 --- a/_locales/en/messages.json +++ b/_locales/en/messages.json @@ -2599,11 +2599,11 @@ "osdElement_MC_POS_XYZ_P_OUTPUTS": { "message": "MC Position XYZ P controllers outputs" }, - "osdElement_GYRO_TEMPERATURE": { + "osdElement_TEMPERATURE": { "message": "Temperature" }, - "osdElement_GYRO_TEMPERATURE_HELP": { - "message": "Temperature of the FC's gyroscope." + "osdElement_TEMPERATURE_HELP": { + "message": "Temperature of the FC, obtained from the most accurate available source." }, "osdSettingMainVoltageDecimals": { "message": "Main Voltage Decimals" diff --git a/tabs/osd.js b/tabs/osd.js index fa0ca2c1..1a32049e 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -591,17 +591,16 @@ OSD.constants = { preview: FONT.symbol(SYM.CLOCK) + '13:37' }, { - name: 'GYRO_TEMPERATURE', + name: 'TEMPERATURE', id: 85, min_version: '2.1.0', preview: function(osd_data) { if (OSD.data.preferences.units === 0) { // Imperial return '90' + FONT.symbol(SYM.TEMP_F); - } else { - // Metric, UK - return '32' + FONT.symbol(SYM.TEMP_C); } + // Metric, UK + return '32' + FONT.symbol(SYM.TEMP_C); } }, ] |