diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-09-25 18:41:39 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2007-09-25 18:41:39 +0000 |
commit | 95b238fc867da32f28c74b98b793fbd40345b595 (patch) | |
tree | 4887435ecd359ae0abfea92bd79e999ce8616f62 /src/chschd.c | |
parent | 619b739d93252f4fc78a98e1bd1c36e9edbbca28 (diff) | |
download | ChibiOS-95b238fc867da32f28c74b98b793fbd40345b595.tar.gz ChibiOS-95b238fc867da32f28c74b98b793fbd40345b595.tar.bz2 ChibiOS-95b238fc867da32f28c74b98b793fbd40345b595.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@23 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'src/chschd.c')
-rw-r--r-- | src/chschd.c | 12 |
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
}
|