From 2f7a78002f012c7ed322767cf3e413b961a640b4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 25 Aug 2014 07:35:41 -0400 Subject: Split firmwqre version query out of the init method. This enables us to force readonly off while it's being called. The practical effect is that gpsmon can get a firmware version (if this is possible) without reconfiguring the device. --- driver_zodiac.c | 1 + 1 file changed, 1 insertion(+) (limited to 'driver_zodiac.c') diff --git a/driver_zodiac.c b/driver_zodiac.c index 240c7909..be7d8b54 100644 --- a/driver_zodiac.c +++ b/driver_zodiac.c @@ -474,6 +474,7 @@ const struct gps_type_t driver_zodiac = .get_packet = generic_get, /* use the generic packet getter */ .parse_packet = zodiac_analyze, /* parse message packets */ .rtcm_writer = zodiac_send_rtcm, /* send DGPS correction */ + .init_query = NULL, /* non-perturbing initial query */ .event_hook = NULL, /* no configuration */ #ifdef RECONFIGURE_ENABLE .speed_switcher = zodiac_speed_switch,/* we can change baud rate */ -- cgit v1.2.1