diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-28 20:19:12 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-28 20:19:12 +0000 |
commit | bd4d25af4f0769f6904dcd3a1f65c7d2c10306c8 (patch) | |
tree | e311ecd067a35121a3b682181ad7825ce4908503 | |
parent | 25605bdc5f3c5892ce29b65236f73d27133835ae (diff) | |
download | gpsd-bd4d25af4f0769f6904dcd3a1f65c7d2c10306c8.tar.gz |
splint and instrumentation cleanup.
All regression tests pass, code splints clean.
-rw-r--r-- | driver_navcom.c | 2 | ||||
-rw-r--r-- | driver_sirf.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/driver_navcom.c b/driver_navcom.c index a2d9f03f..98fbf4d4 100644 --- a/driver_navcom.c +++ b/driver_navcom.c @@ -1236,7 +1236,7 @@ static bool navcom_speed(struct gps_device_t *session, /* Proceed to construct our message */ port = session->driver.navcom.physical_port; - port_selection = (port ? port : 0xff) | baud; + /*@i1@*/port_selection = (port ? port : (u_int8_t)0xff) | baud; /* Send it off */ navcom_cmd_0x11(session, port_selection); diff --git a/driver_sirf.c b/driver_sirf.c index d7f9d05e..d2430b09 100644 --- a/driver_sirf.c +++ b/driver_sirf.c @@ -765,7 +765,7 @@ gps_mask_t sirf_parse(struct gps_device_t *session, unsigned char *buf, size_t l if ((session->driver.sirf.driverstate & UBLOX)==0) return sirf_msg_navsol(session, buf, len); else { - gpsd_report(LOG_PROG, "MND 0x02 skipped, uBlox flag is on. %0x\n", session->driver.sirf.driverstate); + gpsd_report(LOG_PROG, "MND 0x02 skipped, uBlox flag is on.\n"); return 0; } case 0x04: /* Measured tracker data out */ |