summaryrefslogtreecommitdiff
path: root/monitor_oncore.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-02-02 17:28:22 -0800
committerGary E. Miller <gem@rellim.com>2015-02-02 17:28:22 -0800
commit507d3da94068fe89019a80839394faffad30ad1a (patch)
tree04ed11d0347f1fb2517d3460b5e1abc3414ae536 /monitor_oncore.c
parentf488a78cfdb00a36c7aeef2ff5f25cc54f4d27a0 (diff)
downloadgpsd-507d3da94068fe89019a80839394faffad30ad1a.tar.gz
Fix SiRF PPS offset precision in gpsmon
Diffstat (limited to 'monitor_oncore.c')
-rw-r--r--monitor_oncore.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/monitor_oncore.c b/monitor_oncore.c
index ac192db7..c763b399 100644
--- a/monitor_oncore.c
+++ b/monitor_oncore.c
@@ -397,6 +397,8 @@ static void oncore_update(void)
{
double pps_offset;
+ /* note this is the GPS calc'ed offset
+ * not a PPS offset gpsmon calculated */
pps_offset = (double)getbes32(buf, 4) / 1000000.0;
(void)mvwprintw(Aywin, 2, 2, " %7.3f ms", pps_offset);