diff options
author | root (none) <root@spidey.> | 2010-04-08 16:35:42 -0700 |
---|---|---|
committer | root (none) <root@spidey.> | 2010-04-08 16:35:42 -0700 |
commit | 05caa3dc6d8f2f8ac735a2c4ec0ac21da5458969 (patch) | |
tree | cff726ca1cf19f692548ef56bf24b1aa12148d35 /libgps_json.c | |
parent | 25c351fbc0d6e943eafc6839f78e4b4fb5ce95d8 (diff) | |
download | gpsd-05caa3dc6d8f2f8ac735a2c4ec0ac21da5458969.tar.gz |
Patch to fix flickering time in cpgs.
Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'libgps_json.c')
-rw-r--r-- | libgps_json.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libgps_json.c b/libgps_json.c index 6ebfdf86..803ba33a 100644 --- a/libgps_json.c +++ b/libgps_json.c @@ -134,7 +134,8 @@ static int json_sky_read(const char *buf, .len = sizeof(gpsdata->dev.path)}, {"tag", t_string, .addr.string = gpsdata->tag, .len = sizeof(gpsdata->tag)}, - {"time", t_real, .addr.real = &gpsdata->fix.time}, + {"time", t_real, .addr.real = &gpsdata->fix.time, + .nodefault = true}, {"hdop", t_real, .addr.real = &gpsdata->dop.hdop, .dflt.real = NAN}, {"xdop", t_real, .addr.real = &gpsdata->dop.xdop, |