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_nmea.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_nmea.c')
-rw-r--r-- | monitor_nmea.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor_nmea.c b/monitor_nmea.c index 43b9bfb2..e108a407 100644 --- a/monitor_nmea.c +++ b/monitor_nmea.c @@ -93,6 +93,9 @@ static bool nmea_initialize(void) (void)mvwprintw(gpgsawin, 2, 1, "Sats: "); (void)mvwprintw(gpgsawin, 3, 1, "DOP: H= V= P="); (void)mvwprintw(gpgsawin, 4, 1, "PPS offset: "); +#ifndef PPS_ENABLE + (void)mvwaddstr(gpgsawin, 4, 13, "Not available"); +#endif /* PPS_ENABLE */ (void)mvwprintw(gpgsawin, 5, 9, " GSA + PPS "); (void)wattrset(gpgsawin, A_NORMAL); |