diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-12-30 11:11:44 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-12-30 11:11:44 +0000 |
commit | 393ad31a3c5f4a35e828f115879abd41b9b359e3 (patch) | |
tree | 118e322c546cf038f4fc7aebd862e59d09dd611e | |
parent | 292167e13c2d7bbc6922e9fc4e3cdd7b8fab80aa (diff) | |
download | ChibiOS-393ad31a3c5f4a35e828f115879abd41b9b359e3.tar.gz ChibiOS-393ad31a3c5f4a35e828f115879abd41b9b359e3.tar.bz2 ChibiOS-393ad31a3c5f4a35e828f115879abd41b9b359e3.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6585 35acf78f-673a-0410-8e92-d51de3d6d3f4
-rw-r--r-- | os/rt/include/chvt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/rt/include/chvt.h b/os/rt/include/chvt.h index 35d9986c0..5c2d49d31 100644 --- a/os/rt/include/chvt.h +++ b/os/rt/include/chvt.h @@ -480,7 +480,7 @@ static inline void chVTDoTickI(void) { while (!(vtp = ch.vtlist.vt_next)->vt_delta) {
vtfunc_t fn = vtp->vt_func;
vtp->vt_func = (vtfunc_t)NULL;
- vtp->vt_next->vt_prev = (void *)&ch.vtlist;
+ vtp->vt_next->vt_prev = (virtual_timer_t *)&ch.vtlist;
ch.vtlist.vt_next = vtp->vt_next;
chSysUnlockFromISR();
fn(vtp->vt_par);
@@ -497,7 +497,7 @@ static inline void chVTDoTickI(void) { ch.vtlist.vt_lasttime += vtp->vt_delta;
vtfunc_t fn = vtp->vt_func;
vtp->vt_func = (vtfunc_t)NULL;
- vtp->vt_next->vt_prev = (void *)&ch.vtlist;
+ vtp->vt_next->vt_prev = (virtual_timer_t *)&ch.vtlist;
ch.vtlist.vt_next = vtp->vt_next;
chSysUnlockFromISR();
fn(vtp->vt_par);
|