1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 09:45:33 +03:00

White spaces added!

This commit is contained in:
raul-ortega 2017-04-12 22:34:04 +02:00
parent 04baa22ba2
commit f60b2b8252

View file

@ -178,7 +178,7 @@ static void osdDrawSingleElement(uint8_t item)
case OSD_MAIN_BATT_VOLTAGE:
{
uint8_t p = calculateBatteryPercentage();
p = (100-p)/16.6;
p = (100 - p) / 16.6;
buff[0] = SYM_BATT_FULL + p;
sprintf(buff + 1, "%d.%1dV", vbat / 10, vbat % 10);
break;