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:
parent
56d9f71da6
commit
71405f5651
2 changed files with 3 additions and 3 deletions
|
@ -160,14 +160,14 @@
|
||||||
|
|
||||||
// Unit Icon´s (Metric)
|
// Unit Icon´s (Metric)
|
||||||
#define SYM_MS 0x9F
|
#define SYM_MS 0x9F
|
||||||
#define SYM_KMH 0xA5
|
#define SYM_KMH 0xA1
|
||||||
#define SYM_ALTM 0xA7
|
#define SYM_ALTM 0xA7
|
||||||
#define SYM_DISTHOME_M 0xBB
|
#define SYM_DISTHOME_M 0xBB
|
||||||
#define SYM_M 0x0C
|
#define SYM_M 0x0C
|
||||||
|
|
||||||
// Unit Icon´s (Imperial)
|
// Unit Icon´s (Imperial)
|
||||||
#define SYM_FTS 0x99
|
#define SYM_FTS 0x99
|
||||||
#define SYM_MPH 0xA6
|
#define SYM_MPH 0x20
|
||||||
#define SYM_ALTFT 0xA8
|
#define SYM_ALTFT 0xA8
|
||||||
#define SYM_DISTHOME_FT 0xB9
|
#define SYM_DISTHOME_FT 0xB9
|
||||||
#define SYM_FT 0x0F
|
#define SYM_FT 0x0F
|
||||||
|
|
|
@ -772,7 +772,7 @@ static void osdUpdateStats(void)
|
||||||
|
|
||||||
if (feature(FEATURE_GPS))
|
if (feature(FEATURE_GPS))
|
||||||
{
|
{
|
||||||
value = gpsSol.groundSpeed * 36 / 1000;
|
value = gpsSol.groundSpeed;
|
||||||
if (stats.max_speed < value)
|
if (stats.max_speed < value)
|
||||||
stats.max_speed = value;
|
stats.max_speed = value;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue