summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornorly <ny-git@enpas.org>2017-03-18 23:00:53 +0100
committernorly <ny-git@enpas.org>2017-03-18 23:00:53 +0100
commit2e62f449cd3633d4e61a2f9c6fdd9f5dbb0a66f0 (patch)
tree126085bcc7af6b0c79f2a3131186ea9594c784af
parent3b898213f6ddc02f471ddb2f13f5da256180f29c (diff)
Change timeout name
-rw-r--r--vw-nm.c2
-rw-r--r--vw-nm.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/vw-nm.c b/vw-nm.c
index 5e88227..9ca6400 100644
--- a/vw-nm.c
+++ b/vw-nm.c
@@ -144,7 +144,7 @@ static void nm_handle_can_frame(struct NM_Main *nm, struct can_frame *frame)
* can send its login frame to correct us.
*/
nm->tv.tv_sec = 0;
- nm->tv.tv_usec = NM_USECS_MY_TURN;
+ nm->tv.tv_usec = NM_USECS_NORMAL_TURN;
} else {
/* We just got some random ON message.
* Reset the timer looking out for broken
diff --git a/vw-nm.h b/vw-nm.h
index 01f3c44..4a85f2a 100644
--- a/vw-nm.h
+++ b/vw-nm.h
@@ -49,7 +49,7 @@ struct NM_Main {
*
* We may reduce it since we're not on a real-time OS.
*/
-#define NM_USECS_MY_TURN 45000
+#define NM_USECS_NORMAL_TURN 45000
/* This timeout is 140 ms in: