diff options
author | Chris Kuethe <chris.kuethe@gmail.com> | 2006-11-15 18:06:49 +0000 |
---|---|---|
committer | Chris Kuethe <chris.kuethe@gmail.com> | 2006-11-15 18:06:49 +0000 |
commit | 1474db6c686eace7ba0372b87afa33300201752a (patch) | |
tree | bf75f966c8d527dd855ab9a6529e683b67e8e563 /drivers.c | |
parent | 24bd6acd5dda30f1524cf3d6357629aeef96831a (diff) | |
download | gpsd-1474db6c686eace7ba0372b87afa33300201752a.tar.gz |
Make it compile without sirf.
I'm going to have to do another single-protocol compile test soon,
though Mick seems to be doing that for me. Thanks!
Diffstat (limited to 'drivers.c')
-rw-r--r-- | drivers.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -326,13 +326,13 @@ static void sirf_mode(struct gps_device_t *session, int mode) #ifdef ALLOW_RECONFIGURE static void sirf_configurator(struct gps_device_t *session) { -#if defined(BINARY_ENABLE) +#if defined(BINARY_ENABLE) && defined(SIRF_ENABLE) sirf_mode(session, 1); /* throw us to SiRF binary */ session->driver.sirf.back_to_nmea = true; #else (void)nmea_send(session->gpsdata.gps_fd, "$PSRF103,05,00,00,01"); /* no VTG */ (void)nmea_send(session->gpsdata.gps_fd, "$PSRF103,01,00,00,01"); /* no GLL */ -#endif /* BINARY_ENABLE */ +#endif /* defined(BINARY_ENABLE) && defined(SIRF_ENABLE) */ } #endif /* ALLOW_RECONFIGURE */ |