summaryrefslogtreecommitdiff
path: root/libgps_json.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2015-04-02 12:13:49 -0700
committerGary E. Miller <gem@rellim.com>2015-04-02 12:13:49 -0700
commitef1b8529ce7a6e53f8f6b2dab785022bfbc28a09 (patch)
tree6ed85e9dfb620bb3b5fac4aad93ab192cb84112f /libgps_json.c
parent52a737ef1057cdbfe6c50591bf186904428ad1d2 (diff)
downloadgpsd-ef1b8529ce7a6e53f8f6b2dab785022bfbc28a09.tar.gz
Add a JSON test for the PPS message.
Still need a place for PPS precision.
Diffstat (limited to 'libgps_json.c')
-rw-r--r--libgps_json.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgps_json.c b/libgps_json.c
index 5f68efb2..53e2ad0b 100644
--- a/libgps_json.c
+++ b/libgps_json.c
@@ -390,6 +390,7 @@ int json_pps_read(const char *buf, struct gps_data_t *gpsdata,
gpsdata->pps.real.tv_nsec = (long)real_nsec;
gpsdata->pps.clock.tv_sec = (time_t)clock_sec;
gpsdata->pps.clock.tv_nsec = (long)clock_nsec;
+ /* FIXME! find a place to stash precision */
if (status != 0)
return status;