summaryrefslogtreecommitdiff
path: root/driver_tsip.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2018-10-08 15:41:49 -0700
committerGary E. Miller <gem@rellim.com>2018-10-08 15:42:23 -0700
commit96da3e1eb57a86cbab4ad680b85da932f6b4eb24 (patch)
treeadccaabf82163465c9f53a29dd5710ce01a54b70 /driver_tsip.c
parent15000d656ac45e51a7d02c1e9761287e4ff4769d (diff)
downloadgpsd-96da3e1eb57a86cbab4ad680b85da932f6b4eb24.tar.gz
driver_tsip: Fix 16e2664bd6e6d9f56dac11e32022db5ced2e41f3
Forgot to change all references to s2. Broke detection of Acutime Gold. Found by 'scons scan-build'
Diffstat (limited to 'driver_tsip.c')
-rw-r--r--driver_tsip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_tsip.c b/driver_tsip.c
index 8a46fe84..3563bd50 100644
--- a/driver_tsip.c
+++ b/driver_tsip.c
@@ -242,7 +242,7 @@ static gps_mask_t tsip_parse_input(struct gps_device_t *session)
mask |= DEVICEID_SET;
/* Detecting device by Hardware Code */
- if (s2 == 3001) {
+ if (3001 == ul3) {
gpsd_log(&session->context->errout, LOG_INF,
"This device is Accutime Gold\n");
session->driver.tsip.subtype = TSIP_ACCUTIME_GOLD;