summaryrefslogtreecommitdiff
path: root/libgps_json.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-03-20 18:46:50 -0700
committerGary E. Miller <gem@rellim.com>2019-03-20 18:46:50 -0700
commit667c1419f04a6e7d188d3ce1483dee5e3b078622 (patch)
tree6dbc560d162fa8ee26d112aa877f4116dcb1eccc /libgps_json.c
parentc56ae22be9d6dedc095c484d1c8d6469565dd727 (diff)
downloadgpsd-667c1419f04a6e7d188d3ce1483dee5e3b078622.tar.gz
libgps_json.c: Add missing epe. This was breaking cgps.
microjson still aborts on unknown attributes...
Diffstat (limited to 'libgps_json.c')
-rw-r--r--libgps_json.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libgps_json.c b/libgps_json.c
index 9917f2e5..517f7294 100644
--- a/libgps_json.c
+++ b/libgps_json.c
@@ -60,6 +60,8 @@ static int json_tpv_read(const char *buf, struct gps_data_t *gpsdata,
.dflt.real = NAN},
{"epy", t_real, .addr.real = &gpsdata->fix.epy,
.dflt.real = NAN},
+ {"epe", t_real, .addr.real = &gpsdata->fix.epe,
+ .dflt.real = NAN},
{"epv", t_real, .addr.real = &gpsdata->fix.epv,
.dflt.real = NAN},
{"track", t_real, .addr.real = &gpsdata->fix.track,