summaryrefslogtreecommitdiff
path: root/lcdgps.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-05 01:01:58 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-03-05 01:01:58 -0500
commit3921cfe10b5a291e833cd47821b95d621655874d (patch)
tree0a8490302dd7d645f60c8d72d8a380772362c436 /lcdgps.c
parent5bf55885d9d59273794d60e957231371fd020096 (diff)
parent0ff31786edd576c20032aaf1fb0bdf5206b3785e (diff)
downloadgpsd-3921cfe10b5a291e833cd47821b95d621655874d.tar.gz
Merge branch 'master' of ssh://git.berlios.de/gitroot/gpsd
Diffstat (limited to 'lcdgps.c')
-rw-r--r--lcdgps.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/lcdgps.c b/lcdgps.c
index 5db57be7..8ae63184 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -263,7 +263,6 @@ static void update_lcd(struct gps_data_t *gpsdata)
avgclimb/=CLIMB;
snprintf(tmpbuf, 254, "widget_set gpsd four 1 4 {%d %s %s %d fpm }\n",
(int)(gpsdata->fix.altitude*altfactor), altunits, maidenhead, (int)(avgclimb * METERS_TO_FEET * 60));
-#else
snprintf(tmpbuf, 254, "widget_set gpsd four 1 4 {%.1f %s %s}\n",
gpsdata->fix.altitude*altfactor, altunits, maidenhead);
#endif