summaryrefslogtreecommitdiff
path: root/driver_ubx.c
diff options
context:
space:
mode:
authorGary E. Miller <gem@rellim.com>2019-01-18 14:26:53 -0800
committerGary E. Miller <gem@rellim.com>2019-01-18 14:26:53 -0800
commita2aa18a7e847045c9c6064ecd8315034cfe37275 (patch)
treebde8450a17237cf00b4af9a82d0c576ca256bc72 /driver_ubx.c
parent9ea4a100365f448f1ecad8b1a3817e9e5c16511c (diff)
downloadgpsd-a2aa18a7e847045c9c6064ecd8315034cfe37275.tar.gz
driver_ubx: remove another chunk if UNUSED, and duplicate, code.
Diffstat (limited to 'driver_ubx.c')
-rw-r--r--driver_ubx.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/driver_ubx.c b/driver_ubx.c
index 3dd93758..c0e483f9 100644
--- a/driver_ubx.c
+++ b/driver_ubx.c
@@ -1741,16 +1741,6 @@ static void ubx_cfg_prt(struct gps_device_t *session,
msg[2] = 0x01; /* rate */
(void)ubx_write(session, 0x06u, 0x01, msg, 3);
-#ifdef __UNUSED__
- /* leave here for testing. No need to enable until gpsd
- * can decode UBX-MON-VER */
- msg[0] = 0x01; /* class */
- msg[1] = 0x07; /* msg id = NAV-PVT */
- msg[2] = 0x01; /* rate */
- (void)ubx_write(session, 0x06u, 0x01, msg, 3);
-#endif /* __UNUSED __ */
-
-
msg[0] = 0x01; /* class */
msg[1] = 0x20; /* msg id = UBX_NAV_TIMEGPS */
msg[2] = 0x01; /* rate */