From: norly Date: Sat, 18 Mar 2017 22:00:53 +0000 (+0100) Subject: Change timeout name X-Git-Url: https://git.enpas.org/?p=revag-nm.git;a=commitdiff_plain;h=2e62f449cd3633d4e61a2f9c6fdd9f5dbb0a66f0 Change timeout name --- 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: