mirror of https://github.com/rusefi/ChibiOS.git
Tentative fix for virtual timers problem.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@15784 27425a3e-05d8-49a3-a47f-9c15f0e5edd8
This commit is contained in:
parent
39742a0367
commit
8870ae8505
|
@ -181,6 +181,10 @@ static void vt_insert_first(virtual_timers_list_t *vtlp,
|
|||
|
||||
/* Setting up the alarm on the next deadline.*/
|
||||
port_timer_set_alarm(chTimeAddX(now, currdelta));
|
||||
|
||||
/* Current time becomes the new "base" time.*/
|
||||
now = newnow;
|
||||
delay = currdelta;
|
||||
}
|
||||
|
||||
#if !defined(CH_VT_RFCU_DISABLED)
|
||||
|
|
Loading…
Reference in New Issue