diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-29 08:39:56 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-29 08:39:56 -0400 |
commit | 5f2026dae224c38b6f725e9697626edf989698eb (patch) | |
tree | 00669a230af25e66de1189bb28914bb8baec45fb /cgps.c | |
parent | 4873e25e90661026c16aa169096ca94254389f16 (diff) | |
download | gpsd-5f2026dae224c38b6f725e9697626edf989698eb.tar.gz |
Make the Maidenhead convrter available in Python.
Diffstat (limited to 'cgps.c')
-rw-r--r-- | cgps.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -694,7 +694,7 @@ static void update_gps_panel(struct gps_data_t *gpsdata) /* Fill in the grid square (esr thought *this* one was interesting). */ /*@-branchstate@*/ if (isnan(gpsdata->fix.longitude)==0 && isnan(gpsdata->fix.latitude)==0) - s = latlon2maidenhead(gpsdata->fix.latitude,gpsdata->fix.longitude); + s = maidenhead(gpsdata->fix.latitude,gpsdata->fix.longitude); else s = "n/a"; (void)mvwprintw(datawin, 15, DATAWIN_VALUE_OFFSET + 5, "%-*s", 22, s); |