1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-24 00:35:18 +03:00

RxBatt now ok!

This commit is contained in:
bsongis 2014-05-26 21:38:19 +02:00
parent 5ac583c598
commit 331fb9d588
5 changed files with 6 additions and 6 deletions

View file

@ -1217,7 +1217,7 @@ void putsTelemetryChannel(xcoord_t x, uint8_t y, uint8_t channel, lcdint_t val,
break;
#if defined(CPUARM)
case TELEM_RXBATT-1:
val *= 5;
val = ((val*1320) + 127) / 255;
#if LCD_W >= 212
att |= PREC2;
#else