Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lib/pud/src/gpsdclient.c: drop handling of gpsdata->fix.status
Here is an extract of https://gpsd.gitlab.io/gpsd/gpsd_json.html: The optional "status" field (aka fix type), is a modifier (adjective) to mode. It is not a replacement for, or superset of, the "mode" field. It is almost, but not quite, the same as the NMEA 4.x xxGGA GPS Quality Indicator Values. Many GNSS receivers do not supply it. Those that do interpret the specification in various incompatible ways. So status field is optional and STATUS_NO_FIX has been explicitly renamed into STATUS_UNK to avoid confusion with MODE_NO_FIX (which is already handled by gpsdclient.c) so drop the if block to fix the build failure with gpsd >= 3.23.1. Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
- Loading branch information