diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-04 16:40:20 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-04 16:40:20 -0500 |
commit | d98b1c49bc000ee33e9bb16c6007ba9e6cc0b93a (patch) | |
tree | 36743d63e542282af7e94ea8b56554a204e605ef /lcdgps.c | |
parent | 5116540c96c0134aa9ba2b903a0eb6f4ee0f1c17 (diff) | |
download | gpsd-d98b1c49bc000ee33e9bb16c6007ba9e6cc0b93a.tar.gz |
Fossil removal.
Diffstat (limited to 'lcdgps.c')
-rw-r--r-- | lcdgps.c | 9 |
1 files changed, 0 insertions, 9 deletions
@@ -211,14 +211,9 @@ static enum deg_str_type deg_type = deg_dd; static void update_lcd(struct gps_data_t *gpsdata) { char tmpbuf[255]; -#ifdef CLIMB char maidenhead[5]; maidenhead[4]=0; int n; -#else - char maidenhead[7]; - maidenhead[6]=0; -#endif char *s; int track; @@ -255,7 +250,6 @@ static void update_lcd(struct gps_data_t *gpsdata) /* Fill in the altitude and fix status. */ if (gpsdata->fix.mode == MODE_3D) { -#ifdef CLIMB for(n=0;n<CLIMB-2;n++) climb[n]=climb[n+1]; climb[CLIMB-1]=gpsdata->fix.climb; avgclimb=0.0; @@ -266,7 +260,6 @@ static void update_lcd(struct gps_data_t *gpsdata) #else snprintf(tmpbuf, 254, "widget_set gpsd four 1 4 {%.1f %s %s}\n", gpsdata->fix.altitude*altfactor, altunits, maidenhead); -#endif } else { snprintf(tmpbuf, 254, "widget_set gpsd four 1 4 {n/a}\n"); } @@ -304,10 +297,8 @@ int main(int argc, char *argv[]) fd_set rfds; int data; -#ifdef CLIMB int n; for(n=0;n<CLIMB;n++) climb[n]=0.0; -#endif /*@ -observertrans @*/ switch (gpsd_units()) |