1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-22 15:55:48 +03:00

Merge pull request #5855 from McGiverGim/fix_lat_lon_osd_symbols

Fix OSD GPS Lat and Lon symbols
This commit is contained in:
Michael Keller 2018-05-09 23:35:10 +12:00 committed by GitHub
commit 8b01c4a88a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -454,11 +454,13 @@ static bool osdDrawSingleElement(uint8_t item)
break;
case OSD_GPS_LAT:
osdFormatCoordinate(buff, SYM_LAT, gpsSol.llh.lat);
// The SYM_LAT symbol in the actual font contains only blank, so we use the SYM_ARROW_NORTH
osdFormatCoordinate(buff, SYM_ARROW_NORTH, gpsSol.llh.lat);
break;
case OSD_GPS_LON:
osdFormatCoordinate(buff, SYM_LON, gpsSol.llh.lon);
// The SYM_LON symbol in the actual font contains only blank, so we use the SYM_ARROW_EAST
osdFormatCoordinate(buff, SYM_ARROW_EAST, gpsSol.llh.lon);
break;
case OSD_HOME_DIR: