summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers.c b/drivers.c
index 223727bd..8b338d46 100644
--- a/drivers.c
+++ b/drivers.c
@@ -38,6 +38,8 @@ static gps_mask_t nmea_parse_input(struct gps_device_t *session)
} else if (session->packet_type == EVERMORE_PACKET) {
gpsd_report(2, "EverMore packet seen when NMEA expected.\n");
#ifdef EVERMORE_ENABLE
+ /* we might never see a $PEMT, have this as a backstop */
+ (void)gpsd_switch_driver(session, "EverMore binary");
return evermore_parse(session, session->outbuffer, session->outbuflen);
#else
return 0;