summaryrefslogtreecommitdiff
path: root/driver_evermore.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2015-03-28 19:02:23 -0400
committerEric S. Raymond <esr@thyrsus.com>2015-03-28 19:02:23 -0400
commit009ba6e3452df29cbf1757bc0c79dc14683a98da (patch)
tree4775cfa65e817c69a6f29a0ac87daab8701c7ae2 /driver_evermore.c
parent5f710d3469c8da31014000ac13664fe92c57757d (diff)
downloadgpsd-009ba6e3452df29cbf1757bc0c79dc14683a98da.tar.gz
Clean up most spint errors. All regression tests pass.
Diffstat (limited to 'driver_evermore.c')
-rw-r--r--driver_evermore.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/driver_evermore.c b/driver_evermore.c
index 0a26ff96..38d4eeaf 100644
--- a/driver_evermore.c
+++ b/driver_evermore.c
@@ -462,7 +462,7 @@ static bool evermore_protocol(struct gps_device_t *session, int protocol)
/*@ -charint @*/
gpsd_log(&session->context->errout, LOG_PROG,
"evermore_protocol(%d)\n", protocol);
- tmp8 = (protocol != 0) ? 1 : 0;
+ /*@i1@*/ tmp8 = (protocol != 0) ? 1 : 0;
/* NMEA : binary */
evrm_protocol_config[1] = tmp8;
return (evermore_control_send
@@ -493,10 +493,10 @@ static bool evermore_nmea_config(struct gps_device_t *session, int mode)
/*@ -charint */
gpsd_log(&session->context->errout, LOG_PROG,
"evermore_nmea_config(%d)\n", mode);
- tmp8 = (mode == 1) ? 5 : 1;
+ /*@i1@*/ tmp8 = (mode == 1) ? 5 : 1;
/* NMEA GPGSV, gpsd */
evrm_nmeaout_config[6] = tmp8; /* GPGSV, 1s or 5s */
- tmp8 = (mode == 2) ? 1 : 0;
+ /*@i1@*/ tmp8 = (mode == 2) ? 1 : 0;
/* NMEA PEMT101 */
evrm_nmeaout_config[9] = tmp8; /* PEMT101, 1s or 0s */
return (evermore_control_send(session, (char *)evrm_nmeaout_config,