summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2013-11-09 22:57:38 -0500
committerEric S. Raymond <esr@thyrsus.com>2013-11-09 22:57:38 -0500
commite030575a5248f6ad125af9e05fa0bc63ad811618 (patch)
treef077fb2dc31d8c661a3a4de6d870a0f665015ed0 /drivers.c
parent2a3c19f2e8f2085575f222b39c747fb1f7204d0b (diff)
downloadgpsd-e030575a5248f6ad125af9e05fa0bc63ad811618.tar.gz
u-blox name cleanup. All regression tests pass, PPS is live.
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers.c b/drivers.c
index 1d747097..050a8602 100644
--- a/drivers.c
+++ b/drivers.c
@@ -217,14 +217,14 @@ static void nmea_event_hook(struct gps_device_t *session, event_t event)
(void)nmea_send(session, "$PASHQ,RID");
break;
#endif /* ASHTECH_ENABLE */
-#ifdef UBX_ENABLE
+#ifdef UBLOX_ENABLE
case 7:
/* probe for UBX -- query software version */
gpsd_report(session->context->debug, LOG_PROG,
"=> Probing for UBX\n");
(void)ubx_write(session, 0x0au, 0x04, NULL, 0);
break;
-#endif /* UBX_ENABLE */
+#endif /* UBLOX_ENABLE */
#ifdef MTK3301_ENABLE
case 8:
/* probe for MTK-3301 -- expect $PMTK705 */
@@ -1557,9 +1557,9 @@ static const struct gps_type_t *gpsd_driver_array[] = {
#ifdef TSIP_ENABLE
&tsip_binary,
#endif /* TSIP_ENABLE */
-#ifdef UBX_ENABLE
+#ifdef UBLOX_ENABLE
&ubx_binary,
-#endif /* UBX_ENABLE */
+#endif /* UBLOX_ENABLE */
#ifdef ZODIAC_ENABLE
&zodiac_binary,
#endif /* ZODIAC_ENABLE */