summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TODO4
-rw-r--r--gpsd_json.c1
2 files changed, 4 insertions, 1 deletions
diff --git a/TODO b/TODO
index cd82003e..dad62b78 100644
--- a/TODO
+++ b/TODO
@@ -20,7 +20,9 @@ the calibration process less annoying?
** Things to do when we can break compatibility **
-Make subtype longer. 100 chars long sounds good.
+In gps_device_t Make subtype longer. 128 chars long sounds good.
+
+In gps_device_t, save NTP precision in pps_precision
** Bugs in gpsd and its clients:
diff --git a/gpsd_json.c b/gpsd_json.c
index c7ceb4d2..48c686e0 100644
--- a/gpsd_json.c
+++ b/gpsd_json.c
@@ -195,6 +195,7 @@ void json_tpv_dump(const struct gps_device_t *session,
struct timespec clock_tmp = session->pps_thread.ppsout_last.clock;
timespec_str( &clock_tmp, ts_str, sizeof(ts_str) );
str_appendf(reply, replylen, "\"pps\":%s,", ts_str);
+ /* TODO: add PPS precision to JSON output */
}
/*@+type +formattype@*/
#endif /* PPS_ENABLE */