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_oncore.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_oncore.c')
-rw-r--r-- | monitor_oncore.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/monitor_oncore.c b/monitor_oncore.c index 74a243dc..40346f15 100644 --- a/monitor_oncore.c +++ b/monitor_oncore.c @@ -150,6 +150,9 @@ static bool oncore_initialize(void) (void)wborder(Aywin, 0, 0, 0, 0, 0, 0, 0, 0), (void)wattrset(Aywin, A_BOLD); (void)mvwprintw(Aywin, 1, 1, "PPS offset:"); +#ifndef PPS_ENABLE + (void)mvwaddstr(Aywin, 1, 13, "Not available"); +#endif /* PPS_ENABLE */ (void)mvwprintw(Aywin, 3, 4, " @@Ay "); (void)wattrset(Aywin, A_NORMAL); |