diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2013-11-17 20:52:10 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2013-11-17 20:52:10 -0500 |
commit | d4a915c757c7749cc2b16e31919e5c2bf45e6431 (patch) | |
tree | 6a9c4a4c1b550a534fd775672c39ae109ede4432 /monitor_sirf.c | |
parent | 56282bb6ae5bea3eaa63c6e4910c1a18bc31cdd7 (diff) | |
download | gpsd-d4a915c757c7749cc2b16e31919e5c2bf45e6431.tar.gz |
Be explicit when PPS is not available because the build used pps=no.
Diffstat (limited to 'monitor_sirf.c')
-rw-r--r-- | monitor_sirf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/monitor_sirf.c b/monitor_sirf.c index dc737300..2e54a648 100644 --- a/monitor_sirf.c +++ b/monitor_sirf.c @@ -170,7 +170,10 @@ 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 offset: "); +#ifndef PPS_ENABLE + (void)mvwaddstr(mid7win, 2, 40, "Not available"); +#endif /* PPS_ENABLE */ display(mid7win, 3, 8, " Packet type 7 (0x07) "); (void)wattrset(mid7win, A_NORMAL); |