From 2e62f449cd3633d4e61a2f9c6fdd9f5dbb0a66f0 Mon Sep 17 00:00:00 2001 From: norly Date: Sat, 18 Mar 2017 23:00:53 +0100 Subject: [PATCH] Change timeout name --- vw-nm.c | 2 +- vw-nm.h | 2 +- 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: -- 2.30.2