Mercurial > ~darius > hgwebdir.cgi > wh1080
diff util.c @ 5:b22a888eb975
Remove page1_*_pressure - it appears to be old code and is unused.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Thu, 11 Feb 2010 12:44:56 +1030 |
parents | 9dab44dcb331 |
children |
line wrap: on
line diff
--- a/util.c Thu Feb 11 11:47:11 2010 +1030 +++ b/util.c Thu Feb 11 12:44:56 2010 +1030 @@ -23,11 +23,11 @@ if (lines == 0) printf ("\n" - " Page sv IT IH IDP OT OH ODP hPa SL abs rel Wind Gust Dir Rain CR PR \n"); + " Page sv IT IH IDP OT OH ODP hPa SL Wind Gust Dir Rain CR PR\n"); strftime (timestamp, STAMPSIZE, "%F %T", localtime (&readings->timestamp)); /* format time and date */ - printf ("%17s %5x %3d %5.1f %3d %5.1f %5.1f %3d %5.1f %6.1f %6.1f %6.1f %6.1f %5.1f %5.1f %3s %4.1f %4.1f %4.1f\n", + printf ("%19s %4x %2d %4.1f %3d %4.1f %4.1f %3d %5.1f %6.1f %6.1f %5.1f %5.1f %3s %4.1f %4.1f %4.1f\n", timestamp, /* current time */ readings->page, /* machine page number */ readings->last_save_mins, /* last save minutes (?) */ @@ -39,8 +39,6 @@ readings->outside_dewpoint, /* outside dewpoint */ readings->pressure, /* absolute pressure, hPa */ readings->pressure_sea_level, /* sea level pressure, hPa */ - readings->page1_abs_pressure, /* absolute pressure, hPa */ - readings->page1_rel_pressure, /* relative pressure, hPa */ readings->wind_speed, /* wind speed in km/h */ readings->wind_gust, /* wind gust speed in km/h */ readings->wind_direction_text, /* wind direction */