summaryrefslogtreecommitdiff
path: root/driver_oncore.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-11-04 20:39:13 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-11-04 20:39:13 +0000
commitea1bbfdbd64a62efa2cfa511aaee960aaeeb547b (patch)
treec68cde84c228f94b0f074251922019be1c0a526e /driver_oncore.c
parent5138c054442dd789f6f27955ba06ee296f5c12dc (diff)
downloadgpsd-ea1bbfdbd64a62efa2cfa511aaee960aaeeb547b.tar.gz
Typo fix.
Diffstat (limited to 'driver_oncore.c')
-rw-r--r--driver_oncore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_oncore.c b/driver_oncore.c
index 4a6002b3..07e0fc92 100644
--- a/driver_oncore.c
+++ b/driver_oncore.c
@@ -394,7 +394,7 @@ static void oncore_event_hook(struct gps_device_t *session, event_t event)
* FIXME: It might not be necessary to call this on reactivate.
* Experiment to see if the holds its settings through a close.
*/
- if (event == event_identify || event == event_reactivate) {
+ if (event == event_identified || event == event_reactivate) {
(void)oncore_control_send(session,enableEa,sizeof(enableEa));
(void)oncore_control_send(session,enableBb,sizeof(enableBb));
(void)oncore_control_send(session,enableEn,sizeof(enableEn));