summaryrefslogtreecommitdiff
path: root/drivers.c
diff options
context:
space:
mode:
authorAndre Naujoks <nautsch2@googlemail.com>2011-02-22 08:38:19 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-02-22 13:01:56 -0500
commit2c264babf056901afed5bc98ec20688a853a4825 (patch)
tree83c92c357550bd99e0c0a185d3a4525bf3e078fa /drivers.c
parentd4c7e7bb9c9bcb0fcbd8af0a3a79e6d884f53dda (diff)
downloadgpsd-2c264babf056901afed5bc98ec20688a853a4825.tar.gz
An additional condition for pass_rtcm to be build in drivers.c.
UBX now uses the function and has to be added to the list of "if defined()" All regression tests pass. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
Diffstat (limited to 'drivers.c')
-rw-r--r--drivers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers.c b/drivers.c
index 82b43429..d2c10866 100644
--- a/drivers.c
+++ b/drivers.c
@@ -85,7 +85,7 @@ gps_mask_t generic_parse_input(struct gps_device_t *session)
}
}
-#if defined(NMEA_ENABLE) || defined(SIRF_ENABLE) || defined(EVERMORE_ENABLE) || defined(ITRAX_ENABLE) || defined(NAVCOM_ENABLE)
+#if defined(NMEA_ENABLE) || defined(SIRF_ENABLE) || defined(EVERMORE_ENABLE) || defined(ITRAX_ENABLE) || defined(NAVCOM_ENABLE) || defined(UBX_ENABLE)
ssize_t pass_rtcm(struct gps_device_t * session, char *buf, size_t rtcmbytes)
/* most GPSes take their RTCM corrections straight up */
{