summaryrefslogtreecommitdiff
path: root/driver_navcom.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2014-08-25 07:35:41 -0400
committerEric S. Raymond <esr@thyrsus.com>2014-08-25 07:35:41 -0400
commit2f7a78002f012c7ed322767cf3e413b961a640b4 (patch)
tree50d95ee10f3a8e972489e5502a75dd970483a15f /driver_navcom.c
parent3517cd53afabac201b3563f58a33dc15fd35bfdd (diff)
downloadgpsd-2f7a78002f012c7ed322767cf3e413b961a640b4.tar.gz
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.
Diffstat (limited to 'driver_navcom.c')
-rw-r--r--driver_navcom.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/driver_navcom.c b/driver_navcom.c
index fdecf661..213b6d25 100644
--- a/driver_navcom.c
+++ b/driver_navcom.c
@@ -1285,6 +1285,7 @@ const struct gps_type_t driver_navcom =
.get_packet = generic_get, /* use generic one */
.parse_packet = navcom_parse_input, /* parse message packets */
.rtcm_writer = gpsd_write, /* send RTCM data straight */
+ .init_query = NULL, /* non-perturbing query */
.event_hook = navcom_event_hook, /* lifetime event handler */
#ifdef RECONFIGURE_ENABLE
.speed_switcher = navcom_speed, /* we do change baud rates */