Skip to content

Commit

Permalink
Merge pull request #5855 from McGiverGim/fix_lat_lon_osd_symbols
Browse files Browse the repository at this point in the history
Fix OSD GPS Lat and Lon symbols
  • Loading branch information
mikeller committed May 9, 2018
1 parent fdc3ffc commit 254890e
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/io/osd.c
Expand Up @@ -435,11 +435,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:
Expand Down

0 comments on commit 254890e

Please sign in to comment.