diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2010-05-07 01:09:36 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2010-05-07 01:09:36 -0400 |
commit | 628b0179b02c97a97d5d0cfe6edce2de1ef00e03 (patch) | |
tree | 4dc7090298a188ea0d7d8576605269da13164c2d /driver_navcom.c | |
parent | 094cc05429dca9459e4c56d5756307f2ee20fd9b (diff) | |
download | gpsd-628b0179b02c97a97d5d0cfe6edce2de1ef00e03.tar.gz |
Eliminate some uses or ERROR_IS.
Drivers shouldn't really set this any more, as it's used to signal that the
attempt to get sync on a data stream has failed.
Also, make some UDP cases wirk bewtter by arranging not to throw ERROR_IS on
leading comments. No, I don't know why this didn't fail sooner. It must have
sommetthing to do with the granularity of the writes from ptys
Diffstat (limited to 'driver_navcom.c')
-rw-r--r-- | driver_navcom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_navcom.c b/driver_navcom.c index 50ff5811..60d65d8f 100644 --- a/driver_navcom.c +++ b/driver_navcom.c @@ -777,7 +777,7 @@ static gps_mask_t handle_0x86(struct gps_device_t *session) gpsd_report(LOG_ERROR, "Navcom: packet type 0x86: too many satellites!\n"); gpsd_zero_satellites(&session->gpsdata); - return ERROR_IS; + return 0; } prn = getub(buf, n); tracking_status = getub(buf, n + 1); |