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

Fixed OSD symbols for velocities and fixed velocity calculation in the stats.

This commit is contained in:
Florian Huber 2017-05-15 21:53:07 -04:00
parent 56d9f71da6
commit 71405f5651
2 changed files with 3 additions and 3 deletions

View file

@ -160,14 +160,14 @@
// Unit Icon´s (Metric)
#define SYM_MS 0x9F
#define SYM_KMH 0xA5
#define SYM_KMH 0xA1
#define SYM_ALTM 0xA7
#define SYM_DISTHOME_M 0xBB
#define SYM_M 0x0C
// Unit Icon´s (Imperial)
#define SYM_FTS 0x99
#define SYM_MPH 0xA6
#define SYM_MPH 0x20
#define SYM_ALTFT 0xA8
#define SYM_DISTHOME_FT 0xB9
#define SYM_FT 0x0F

View file

@ -772,7 +772,7 @@ static void osdUpdateStats(void)
if (feature(FEATURE_GPS))
{
value = gpsSol.groundSpeed * 36 / 1000;
value = gpsSol.groundSpeed;
if (stats.max_speed < value)
stats.max_speed = value;