summaryrefslogtreecommitdiff
path: root/libgps_json.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgps_json.c')
-rw-r--r--libgps_json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgps_json.c b/libgps_json.c
index f58de8be..156ddf1b 100644
--- a/libgps_json.c
+++ b/libgps_json.c
@@ -521,7 +521,7 @@ int libgps_json_unpack(const char *buf,
status = json_pps_read(buf, gpsdata, end);
if (status == 0) {
gpsdata->set &= ~UNION_SET;
- gpsdata->set |= TIMEDRIFT_SET;
+ gpsdata->set |= PPSDRIFT_SET;
}
return status;
} else