[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gpsd-dev] [PATCH] gpsmon: Update TOFF field when using u-blox protocol
From: |
Nuno Gonçalves |
Subject: |
[gpsd-dev] [PATCH] gpsmon: Update TOFF field when using u-blox protocol |
Date: |
Sun, 13 Dec 2015 23:48:53 +0000 |
The window where TOFF is displayed was not being refreshed after the
first write.
This might have went unoticed during test because if PPS_ENABLE is defined, then
wnoutrefresh() is called at pps_update() so in this condition the bug is masked.
Signed-off-by: Nuno Goncalves <address@hidden>
---
monitor_ubx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/monitor_ubx.c b/monitor_ubx.c
index 4425d35..b216f0a 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
--
2.1.4
- [gpsd-dev] [PATCH] gpsmon: Update TOFF field when using u-blox protocol,
Nuno Gonçalves <=