diff options
author | Gary E. Miller <gem@rellim.com> | 2015-04-02 12:13:49 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2015-04-02 12:13:49 -0700 |
commit | ef1b8529ce7a6e53f8f6b2dab785022bfbc28a09 (patch) | |
tree | 6ed85e9dfb620bb3b5fac4aad93ab192cb84112f /libgps_json.c | |
parent | 52a737ef1057cdbfe6c50591bf186904428ad1d2 (diff) | |
download | gpsd-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.c | 1 |
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; |