summaryrefslogtreecommitdiff
path: root/monitor_ubx.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2016-01-04 13:41:40 -0500
committerEric S. Raymond <esr@thyrsus.com>2016-01-04 13:41:40 -0500
commitb6807735feafa583329b2ce4bc0d48287a64b9e8 (patch)
treeb3f61d91fc8a709f05cce709a2b985260e51b60b /monitor_ubx.c
parent7d0ef38ae6189593db12349d081edfc2bb734419 (diff)
downloadgpsd-b6807735feafa583329b2ce4bc0d48287a64b9e8.tar.gz
Make asynchronous updating of PPS windows more reliable.
Generalizes a patch for monitor_ubx.c submitted by by Nuno Gonçalves.
Diffstat (limited to 'monitor_ubx.c')
-rw-r--r--monitor_ubx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor_ubx.c b/monitor_ubx.c
index 4425d351..b216f0a0 100644
--- a/monitor_ubx.c
+++ b/monitor_ubx.c
@@ -72,6 +72,7 @@ static bool ubx_initialize(void)
if ((ppswin = derwin(devicewin, 3, 51, 16, 28)) == NULL)
return false;
(void)wborder(ppswin, 0, 0, 0, 0, 0, 0, 0, 0);
+ (void)syncok(ppswin, true);
(void)wattrset(ppswin, A_BOLD);
#define TOFF_LINE 1
#define TOFF_COLUMN 1