From 96da3e1eb57a86cbab4ad680b85da932f6b4eb24 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Mon, 8 Oct 2018 15:41:49 -0700 Subject: driver_tsip: Fix 16e2664bd6e6d9f56dac11e32022db5ced2e41f3 Forgot to change all references to s2. Broke detection of Acutime Gold. Found by 'scons scan-build' --- driver_tsip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'driver_tsip.c') 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; -- cgit v1.2.1