git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@331 35acf78f-673a-0410-8e92-d51de3d6d3f4

This commit is contained in:
gdisirio 2008-07-04 08:29:01 +00:00
parent 558007d1cf
commit 0b7254491c
1 changed files with 3 additions and 2 deletions

View File

@ -68,7 +68,7 @@ typedef struct {
extern DeltaList dlist; extern DeltaList dlist;
#define chVTDoTickI() \ #define chVTDoTickI() { \
if (&dlist != (DeltaList *)dlist.dl_next) { \ if (&dlist != (DeltaList *)dlist.dl_next) { \
VirtualTimer *vtp; \ VirtualTimer *vtp; \
\ \
@ -79,6 +79,7 @@ extern DeltaList dlist;
(vtp->vt_next->vt_prev = (void *)&dlist)->vt_next = vtp->vt_next; \ (vtp->vt_next->vt_prev = (void *)&dlist)->vt_next = vtp->vt_next; \
fn(vtp->vt_par); \ fn(vtp->vt_par); \
} \ } \
} \
} }
/** Infinite time specification.*/ /** Infinite time specification.*/