diff options
Diffstat (limited to 'os/kernel/include/chvt.h')
-rw-r--r-- | os/kernel/include/chvt.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/os/kernel/include/chvt.h b/os/kernel/include/chvt.h index d1659d286..a499db690 100644 --- a/os/kernel/include/chvt.h +++ b/os/kernel/include/chvt.h @@ -384,9 +384,9 @@ static inline void chVTDoTickI(void) { vtp->vt_func = (vtfunc_t)NULL;
vtp->vt_next->vt_prev = (void *)&vtlist;
vtlist.vt_next = vtp->vt_next;
- chSysUnlockFromIsr();
+ chSysUnlockFromISR();
fn(vtp->vt_par);
- chSysLockFromIsr();
+ chSysLockFromISR();
}
}
#else /* CH_CFG_TIMEDELTA > 0 */
@@ -401,9 +401,9 @@ static inline void chVTDoTickI(void) { vtp->vt_func = (vtfunc_t)NULL;
vtp->vt_next->vt_prev = (void *)&vtlist;
vtlist.vt_next = vtp->vt_next;
- chSysUnlockFromIsr();
+ chSysUnlockFromISR();
fn(vtp->vt_par);
- chSysLockFromIsr();
+ chSysLockFromISR();
}
if (&vtlist == (virtual_timers_list_t *)vtlist.vt_next) {
/* The list is empty, no tick event needed so the alarm timer
|