git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@7729 35acf78f-673a-0410-8e92-d51de3d6d3f4
parent
6bef4c74c3
commit
e09208306b
|
@ -453,9 +453,11 @@ static inline void chVTDoTickI(void) {
|
||||||
virtual_timer_t *vtp;
|
virtual_timer_t *vtp;
|
||||||
|
|
||||||
--ch.vtlist.vt_next->vt_delta;
|
--ch.vtlist.vt_next->vt_delta;
|
||||||
|
while (ch.vtlist.vt_next->vt_delta == 0U) {
|
||||||
|
vtfunc_t fn;
|
||||||
|
|
||||||
vtp = ch.vtlist.vt_next;
|
vtp = ch.vtlist.vt_next;
|
||||||
while (vtp->vt_delta == 0U) {
|
fn = vtp->vt_func;
|
||||||
vtfunc_t fn = vtp->vt_func;
|
|
||||||
vtp->vt_func = NULL;
|
vtp->vt_func = NULL;
|
||||||
/*lint -save -e9087 -e740 [11.3, 1.3] Cast required by list handling.*/
|
/*lint -save -e9087 -e740 [11.3, 1.3] Cast required by list handling.*/
|
||||||
vtp->vt_next->vt_prev = (virtual_timer_t *)&ch.vtlist;
|
vtp->vt_next->vt_prev = (virtual_timer_t *)&ch.vtlist;
|
||||||
|
|
Loading…
Reference in New Issue