RxBatt overflow (it's stored in a 8bits variable)

This commit is contained in:
bsongis
2014-05-23 17:26:26 +02:00
parent 3126586615
commit a46b78bd97
5 changed files with 6 additions and 5 deletions
+1
View File
@@ -1217,6 +1217,7 @@ void putsTelemetryChannel(xcoord_t x, uint8_t y, uint8_t channel, lcdint_t val,
break;
#if defined(CPUARM)
case TELEM_RX_VOLTAGE-1:
val *= 5;
#if LCD_W >= 212
att |= PREC2;
#else