[all] Telemetry display bug fixes

This commit is contained in:
bsongis
2012-11-02 16:17:13 +00:00
parent abcc80b266
commit 1080514bd9
3 changed files with 10 additions and 3 deletions
+3
View File
@@ -1002,6 +1002,9 @@ void putsTelemetryValue(uint8_t x, uint8_t y, int16_t val, uint8_t unit, uint8_t
if (unit == UNIT_FEET) {
unit = UNIT_METERS;
}
if (unit == UNIT_KTS) {
unit = UNIT_KMH;
}
#else
if (unit == UNIT_KTS) {
// kts to km/h