This commit is contained in:
bsongis
2014-06-17 11:27:59 +02:00
parent 6086112cf9
commit 9682bf116d
+4 -4
View File
@@ -1309,6 +1309,10 @@ void putsTelemetryChannel(xcoord_t x, uint8_t y, uint8_t channel, lcdint_t val,
putsTelemetryValue(x, y, val, UNIT_RAW, att); putsTelemetryValue(x, y, val, UNIT_RAW, att);
break; break;
case TELEM_HDG-1:
putsTelemetryValue(x, y, val, UNIT_HDG, att);
break;
#if defined(FRSKY_SPORT) #if defined(FRSKY_SPORT)
case TELEM_ALT-1: case TELEM_ALT-1:
putsTelemetryValue(x, y, div10_and_round(val), UNIT_DIST, att|PREC1); putsTelemetryValue(x, y, div10_and_round(val), UNIT_DIST, att|PREC1);
@@ -1324,10 +1328,6 @@ void putsTelemetryChannel(xcoord_t x, uint8_t y, uint8_t channel, lcdint_t val,
// no break // no break
#endif #endif
case TELEM_HDG-1:
putsTelemetryValue(x, y, val, UNIT_HDG, att);
break;
default: default:
{ {
uint8_t unit = 1; uint8_t unit = 1;