summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgps_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_json.c b/libgps_json.c
index 06b537e0..e327325d 100644
--- a/libgps_json.c
+++ b/libgps_json.c
@@ -203,7 +203,7 @@ static int json_sky_read(const char *buf, struct gps_data_t *gpsdata,
.len = sizeof(gpsdata->tag)},
{"time", t_string, .addr.string = tbuf,
.len = sizeof(tbuf)},
- {"time", t_real, .addr.real = &gpsdata->fix.time,
+ {"time", t_real, .addr.real = &gpsdata->skyview_time,
.dflt.real = NAN},
{"hdop", t_real, .addr.real = &gpsdata->dop.hdop,
.dflt.real = NAN},