summaryrefslogtreecommitdiff
path: root/sirf.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-10-31 23:12:03 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-10-31 23:12:03 +0000
commitb67e5e180f8b91d3dfe92ea3ee85e2cd3b85e23d (patch)
treeb0b5e094a4bc555ae15a8c34fab2520c1c040b17 /sirf.c
parenta07cadc47e953ed533081083cf9264a008227298 (diff)
downloadgpsd-b67e5e180f8b91d3dfe92ea3ee85e2cd3b85e23d.tar.gz
Improved version of code for shipping a firmware version.
Diffstat (limited to 'sirf.c')
-rw-r--r--sirf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sirf.c b/sirf.c
index ec6efdeb..a47e1d68 100644
--- a/sirf.c
+++ b/sirf.c
@@ -299,7 +299,7 @@ gps_mask_t sirf_parse(struct gps_device_t *session, unsigned char *buf, size_t l
(void)sirf_write(session->gpsdata.gps_fd, enablesubframe);
}
#endif /* ALLOW_RECONFIGURE */
- return 0;
+ return DEVICEID_SET;
case 0x07: /* Clock Status Data */
gpsd_report(4, "CLK 0x07\n");