Fix mstimer elapsed time (#58)

Co-authored-by: Steve Karg <skarg@users.sourceforge.net>
This commit is contained in:
Steve Karg
2020-03-17 17:27:25 -05:00
committed by GitHub
parent 1b9c1ad3b3
commit f18612f1ec
9 changed files with 29 additions and 10 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ static struct mstimer Silence_Timer;
bool rs485_silence_time_elapsed(
uint16_t milliseconds)
{
return (mstimer_remaining(&Silence_Timer) > milliseconds);
return (mstimer_elapsed(&Silence_Timer) > milliseconds);
}
/****************************************************************************