aboutsummaryrefslogtreecommitdiffstats
path: root/src/chschd.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/chschd.c')
-rw-r--r--src/chschd.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/chschd.c b/src/chschd.c
index b38fe366f..a046f4fbf 100644
--- a/src/chschd.c
+++ b/src/chschd.c
@@ -188,17 +188,7 @@ void chSchTimerHandlerI(void) {
#endif
#ifdef CH_USE_VIRTUAL_TIMERS
- if (&dlist != (DeltaList *)dlist.dl_next) {
- VirtualTimer *vtp;
-
- --dlist.dl_next->vt_dtime;
- while (!(vtp = dlist.dl_next)->vt_dtime) {
- vtp->vt_prev->vt_next = vtp->vt_next;
- vtp->vt_next->vt_prev = vtp->vt_prev;
- vtp->vt_func(vtp->vt_par);
- vtp->vt_func = 0; // Required, flags the timer as triggered.
- }
- }
+ chVTDoTickI();
#endif
}