summaryrefslogtreecommitdiff
path: root/sirf.c
diff options
context:
space:
mode:
authorChris Kuethe <chris.kuethe@gmail.com>2006-10-10 01:20:17 +0000
committerChris Kuethe <chris.kuethe@gmail.com>2006-10-10 01:20:17 +0000
commit186ad9889cd096cdac4403097264497b319e4ce4 (patch)
tree5c626e96012bff05391a60a324287a9821fffa08 /sirf.c
parentb18e964b625d8a30f4860f34a6b5df940264a12d (diff)
downloadgpsd-186ad9889cd096cdac4403097264497b319e4ce4.tar.gz
quell compiler warning in the case of --disable-reconfigure
Diffstat (limited to 'sirf.c')
-rw-r--r--sirf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sirf.c b/sirf.c
index 6127d5a7..35796626 100644
--- a/sirf.c
+++ b/sirf.c
@@ -93,6 +93,7 @@ static bool sirf_speed(int ttyfd, speed_t speed)
return (sirf_write(ttyfd, msg));
}
+#ifdef ALLOW_RECONFIGURE
static bool sirf_to_nmea(int ttyfd, speed_t speed)
/* switch from binary to NMEA at specified baud */
{
@@ -115,6 +116,7 @@ static bool sirf_to_nmea(int ttyfd, speed_t speed)
msg[27] = (unsigned char)LO(speed);
return (sirf_write(ttyfd, msg));
}
+#endif /* ALLOW_RECONFIGURE */
static void sirfbin_mode(struct gps_device_t *session, int mode)
{