Fix formatting of GPS speed

Fixes #3236
This commit is contained in:
Dan Nixon 2017-06-08 15:16:45 +01:00
parent a6d8816a98
commit c3cccb888b
1 changed files with 1 additions and 1 deletions

View File

@ -238,7 +238,7 @@ static void osdDrawSingleElement(uint8_t item)
case OSD_GPS_SPEED:
// FIXME ideally we want to use SYM_KMH symbol but it's not in the font any more, so we use K.
tfp_sprintf(buff, "%dK", CM_S_TO_KM_H(GPS_speed) * 10);
tfp_sprintf(buff, "%3dK", CM_S_TO_KM_H(GPS_speed));
break;
case OSD_GPS_LAT: