summaryrefslogtreecommitdiff
path: root/driver_evermore.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2010-04-14 03:35:50 -0400
committerEric S. Raymond <esr@thyrsus.com>2010-04-14 03:35:50 -0400
commitab29dd074045e02aed059c170be4080e31d2ae49 (patch)
tree228ea38725265f61cf54dacd4df30560f09bade8 /driver_evermore.c
parent377f18439013d69c049cc0a3c8941d2351476658 (diff)
downloadgpsd-ab29dd074045e02aed059c170be4080e31d2ae49.tar.gz
Re-reindent some drivers because we added another control option.
All regression tests pass.
Diffstat (limited to 'driver_evermore.c')
-rw-r--r--driver_evermore.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/driver_evermore.c b/driver_evermore.c
index bf227b4a..b775891c 100644
--- a/driver_evermore.c
+++ b/driver_evermore.c
@@ -439,8 +439,8 @@ static bool evermore_protocol(struct gps_device_t *session, int protocol)
};
/*@ -charint */
gpsd_report(LOG_PROG, "evermore_protocol(%d)\n", protocol);
- /*@i1@*/ tmp8 = (protocol != 0) ? 1 : 0;
- /* NMEA : binary */
+ /*@i1@*/ tmp8 = (protocol != 0) ? 1 : 0;
+ /* NMEA : binary */
evrm_protocol_config[1] = tmp8;
return (evermore_control_send
(session, evrm_protocol_config,
@@ -469,11 +469,11 @@ static bool evermore_nmea_config(struct gps_device_t *session, int mode)
};
/*@ -charint */
gpsd_report(LOG_PROG, "evermore_nmea_config(%d)\n", mode);
- /*@i1@*/ tmp8 = (mode == 1) ? 5 : 1;
- /* NMEA GPGSV, gpsd */
+ /*@i1@*/ tmp8 = (mode == 1) ? 5 : 1;
+ /* NMEA GPGSV, gpsd */
evrm_nmeaout_config[6] = tmp8; /* GPGSV, 1s or 5s */
- /*@i1@*/ tmp8 = (mode == 2) ? 1 : 0;
- /* NMEA PEMT101 */
+ /*@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,
sizeof(evrm_nmeaout_config)) != -1);