diff options
Diffstat (limited to 'os/kernel/include/chsys.h')
-rw-r--r-- | os/kernel/include/chsys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/kernel/include/chsys.h b/os/kernel/include/chsys.h index 5585117b6..e87d0c6c1 100644 --- a/os/kernel/include/chsys.h +++ b/os/kernel/include/chsys.h @@ -130,7 +130,7 @@ extern "C" { static inline void chSysSwitch(thread_t *ntp, thread_t *otp) {
dbg_trace(otp);
- THREAD_CONTEXT_SWITCH_HOOK(ntp, otp);
+ CH_CFG_CONTEXT_SWITCH_HOOK(ntp, otp);
port_switch(ntp, otp);
}
|