diff options
author | Gary E. Miller <gem@rellim.com> | 2019-03-20 18:46:50 -0700 |
---|---|---|
committer | Gary E. Miller <gem@rellim.com> | 2019-03-20 18:46:50 -0700 |
commit | 667c1419f04a6e7d188d3ce1483dee5e3b078622 (patch) | |
tree | 6dbc560d162fa8ee26d112aa877f4116dcb1eccc /libgps_json.c | |
parent | c56ae22be9d6dedc095c484d1c8d6469565dd727 (diff) | |
download | gpsd-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.c | 2 |
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, |