summaryrefslogtreecommitdiff
path: root/lcdgps.c
diff options
context:
space:
mode:
authorJon Schlueter <jon.schlueter@gmail.com>2011-03-04 22:36:45 -0500
committerJon Schlueter <jon.schlueter@gmail.com>2011-03-04 22:36:45 -0500
commit0ff31786edd576c20032aaf1fb0bdf5206b3785e (patch)
tree44dc924171c7d0ee2f7bfdc5fc010428f583a647 /lcdgps.c
parent39ff2805b68d4fbef66056972a3da2e2585a6710 (diff)
downloadgpsd-0ff31786edd576c20032aaf1fb0bdf5206b3785e.tar.gz
fix broken build of lcdgps
not sure what correct behavior is after removing the ifdef CLIMB cruft
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 df7a795e..2fc0148a 100644
--- a/lcdgps.c
+++ b/lcdgps.c
@@ -257,7 +257,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);
} else {