summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));