summaryrefslogtreecommitdiff
path: root/monitor_nmea.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-17 20:52:10 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-17 20:52:10 -0500
commitd4a915c757c7749cc2b16e31919e5c2bf45e6431 (patch)
tree6a9c4a4c1b550a534fd775672c39ae109ede4432 /monitor_nmea.c
parent56282bb6ae5bea3eaa63c6e4910c1a18bc31cdd7 (diff)
downloadgpsd-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.c3
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);