diff options
author | Gary E. Miller <gem@rellim.com> | 2015-02-11 14:37:18 -0800 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-02-11 14:37:18 -0800 |
commit | 00afced3122a19db663fe0a88e9c4c1853dff14e (patch) | |
tree | 433b5782458bd510f2794355a2f91d4a357ff745 /monitor_sirf.c | |
parent | 653cbd01d676c40ffd610e0a35795f0b8b8a7662 (diff) | |
download | gpsd-00afced3122a19db663fe0a88e9c4c1853dff14e.tar.gz |
Jigger PPS display for gpsmon/SiRF so it (usually) fits.
The PPS string can be 20 chars wide, so it will not fir
in the current space on laarge offsets.
Diffstat (limited to 'monitor_sirf.c')
-rw-r--r-- | monitor_sirf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor_sirf.c b/monitor_sirf.c index b4a59608..6075dd5c 100644 --- a/monitor_sirf.c +++ b/monitor_sirf.c @@ -172,7 +172,7 @@ static bool sirf_initialize(void) display(mid7win, 1, 9, "Drift: "); display(mid7win, 1, 23, "Bias: "); display(mid7win, 2, 1, "Est. GPS Time: "); - display(mid7win, 2, 27, "PPS offset: "); + display(mid7win, 2, 27, "PPS offs: "); #ifndef PPS_ENABLE (void)mvwaddstr(mid7win, 2, 40, "N/A"); #endif /* PPS_ENABLE */ @@ -597,11 +597,11 @@ static void sirf_update(void) if ( 86400 < (long)labs(timedelta.tv_sec) ) { /* more than one day off, overflow */ /* need a bigger field to show it */ - (void)mvwprintw(mid7win, 2, 39, "> 1 day"); + (void)mvwprintw(mid7win, 2, 37, "> 1 day"); } else { char buf2[22]; (void)timespec_str( &timedelta, buf2, sizeof(buf2) ); - (void)mvwprintw(mid7win, 4, 39, "%s", buf2); + (void)mvwprintw(mid7win, 2, 37, "%s", buf2); } (void)wnoutrefresh(mid7win); } |