summaryrefslogtreecommitdiff
path: root/monitor_sirf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-02-12 23:40:45 -0500
committerEric S. Raymond <esr@thyrsus.com>2015-02-12 23:40:45 -0500
commitfa6f82dfcd38b4bc948de29aac64ad21380406d7 (patch)
tree5231906a5da445cd7a412e58a9df28b56f4c4d7a /monitor_sirf.c
parent738fb5b3c466e5ea021b164f9466c76d4033d608 (diff)
downloadgpsd-fa6f82dfcd38b4bc948de29aac64ad21380406d7.tar.gz
Widen PPS offset field in the three montors (NMEA, uBlox, SiRF) that report it.
To accomplish this, I had to shorted "PPS offset:" to "PPS:"; documentation has been adjusted accordingly In the NMEA and uBlox cases this gets us the required 22 characters. The SiRF monitor is four shy of that. The OnCore monitor gets PPS offset in-band and already has fields sised to report that.
Diffstat (limited to 'monitor_sirf.c')
-rw-r--r--monitor_sirf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/monitor_sirf.c b/monitor_sirf.c
index e0e6c5f2..6d4dabfb 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 offs: ");
+ display(mid7win, 2, 27, "PPS: ");
#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, 37, "> 1 day");
+ (void)mvwprintw(mid7win, 2, 32, "> 1 day");
} else {
char buf2[TIMESPEC_LEN];
(void)timespec_str( &timedelta, buf2, sizeof(buf2) );
- (void)mvwprintw(mid7win, 2, 37, "%s", buf2);
+ (void)mvwprintw(mid7win, 2, 32, "%s", buf2);
}
(void)wnoutrefresh(mid7win);
}