diff options
Diffstat (limited to 'driver_evermore.c')
-rw-r--r-- | driver_evermore.c | 6 |
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, |