summaryrefslogtreecommitdiff
path: root/driver_proto.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-13 10:54:16 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-13 10:54:16 +0000
commitc7523c485eb3eecb6246cc66e76970ab1f64519c (patch)
treee4e397022c2a31d2b2a637e937da59a60ba6b91f /driver_proto.c
parentfa644e4d0bb65cea5214f3cc02ce4421c8000925 (diff)
downloadgpsd-c7523c485eb3eecb6246cc66e76970ab1f64519c.tar.gz
Rename event_revert to event_deactivate. No behavior changes.
Diffstat (limited to 'driver_proto.c')
-rw-r--r--driver_proto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver_proto.c b/driver_proto.c
index b1af8078..55c54795 100644
--- a/driver_proto.c
+++ b/driver_proto.c
@@ -301,7 +301,7 @@ static ssize_t _proto__control_send(struct gps_device_t *session,
static void _proto__event_hook(struct gps_device_t *session, event_t event)
{
/*
- * Remember that session->packet.counter is available when yoo write
+ * Remember that session->packet.counter is available when you write
* these hooks; session->packet.counter == 0 is often a useful condition.
*/
if (event == event_wakeup) {
@@ -325,7 +325,7 @@ static void _proto__event_hook(struct gps_device_t *session, event_t event)
* anything, but conditionalizing probes on them gives the device
* time to respond to each one.
*/
- } else if (event == event_revert) {
+ } else if (event == event_deactivate) {
/*
* Reverse whatever was done art configure_event time.
*/