diff options
author | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-01-09 14:12:18 -0500 |
---|---|---|
committer | Jon Schlueter <jschlueter@navigationsolutions.com> | 2015-01-09 14:12:18 -0500 |
commit | fb842ddaa08288c74bcd326aa2425d1f47396949 (patch) | |
tree | 4a8bc81a083d06b44d6e62c76b78d44d5f3a0977 /driver_sirf.c | |
parent | 896e7d61b1eff092d21e8ab47a422232c0772bdb (diff) | |
download | gpsd-fb842ddaa08288c74bcd326aa2425d1f47396949.tar.gz |
Tweak to ifdef guard for RECONFIGURE_ENABLE in driver_sirf
Warning cleanup that one of the nav message was not used if
RECONFIGURE_ENABLE was not defined. Inspection shows that it is only
used from within code guarded by the same ifdef guard so adjusted to
clear the compile warning.
Diffstat (limited to 'driver_sirf.c')
-rw-r--r-- | driver_sirf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/driver_sirf.c b/driver_sirf.c index a893ef51..98e9b46b 100644 --- a/driver_sirf.c +++ b/driver_sirf.c @@ -68,6 +68,7 @@ static unsigned char versionprobe[] = { 0x00, 0x00, 0xb0, 0xb3 }; +#ifdef RECONFIGURE_ENABLE /* Poll Navigation Parameters MID 152 * query for MID 19 */ static unsigned char navparams[] = { @@ -77,7 +78,6 @@ static unsigned char navparams[] = { 0x00, 0x00, 0xb0, 0xb3 }; -#ifdef RECONFIGURE_ENABLE /* DGPS Source MID 133 */ static unsigned char dgpscontrol[] = { 0xa0, 0xa2, 0x00, 0x07, |