From a2aa18a7e847045c9c6064ecd8315034cfe37275 Mon Sep 17 00:00:00 2001 From: "Gary E. Miller" Date: Fri, 18 Jan 2019 14:26:53 -0800 Subject: driver_ubx: remove another chunk if UNUSED, and duplicate, code. --- driver_ubx.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'driver_ubx.c') 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 */ -- cgit v1.2.1