From c3cccb888b522eef736483f7b3de2f57edf81b0e Mon Sep 17 00:00:00 2001 From: Dan Nixon Date: Thu, 8 Jun 2017 15:16:45 +0100 Subject: [PATCH] Fix formatting of GPS speed Fixes #3236 --- src/main/io/osd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/io/osd.c b/src/main/io/osd.c index d38bc1ddca..4b590a200b 100755 --- a/src/main/io/osd.c +++ b/src/main/io/osd.c @@ -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: