summaryrefslogtreecommitdiff
path: root/driver_evermore.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-04-01 04:29:17 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-04-01 04:29:17 -0400
commitabb7c5d31235af27b4b3ac620b97a8c5260f26a3 (patch)
tree9382c5395ca26d378c89b9561a15cba2b72603b4 /driver_evermore.c
parente9405f56aa4a2f39852362b3134878c3049783c2 (diff)
downloadgpsd-abb7c5d31235af27b4b3ac620b97a8c5260f26a3.tar.gz
Regularize some names.
Diffstat (limited to 'driver_evermore.c')
-rw-r--r--driver_evermore.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/driver_evermore.c b/driver_evermore.c
index 17fe6317..ad5f703f 100644
--- a/driver_evermore.c
+++ b/driver_evermore.c
@@ -544,7 +544,7 @@ static void evermore_event_hook(struct gps_device_t *session, event_t event)
}
}
-#ifdef ALLOW_RECONFIGURE
+#ifdef RECONFIGURE_ENABLE
static bool evermore_speed(struct gps_device_t *session,
speed_t speed, char parity, int stopbits)
{
@@ -607,7 +607,7 @@ static bool evermore_rate_switcher(struct gps_device_t *session, double rate)
}
/*@ -charint @*/
}
-#endif /* ALLOW_RECONFIGURE */
+#endif /* RECONFIGURE_ENABLE */
/* this is everything we export */
@@ -624,15 +624,15 @@ const struct gps_type_t evermore_binary =
.parse_packet = evermore_parse_input, /* parse message packets */
.rtcm_writer = gpsd_write, /* send RTCM data straight */
.event_hook = evermore_event_hook, /* lifetime event handler */
-#ifdef ALLOW_RECONFIGURE
+#ifdef RECONFIGURE_ENABLE
.speed_switcher = evermore_speed, /* we can change baud rates */
.mode_switcher = evermore_mode, /* there is a mode switcher */
.rate_switcher = evermore_rate_switcher, /* change sample rate */
.min_cycle = 1, /* ignore, no rate switch */
-#endif /* ALLOW_RECONFIGURE */
-#ifdef ALLOW_CONTROLSEND
+#endif /* RECONFIGURE_ENABLE */
+#ifdef CONTROLSEND_ENABLE
.control_send = evermore_control_send, /* how to send a control string */
-#endif /* ALLOW_CONTROLSEND */
+#endif /* CONTROLSEND_ENABLE */
#ifdef NTPSHM_ENABLE
.ntp_offset = NULL, /* no method for NTP fudge factor */
#endif /* NTPSHM_ ENABLE */