summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
diff options
context:
space:
mode:
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c')
-rw-r--r--c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c b/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
index 1c14cc0b2d..9776457916 100644
--- a/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
+++ b/c/src/lib/libcpu/sh/sh7032/score/cpu_asm.c
@@ -170,7 +170,7 @@ void __ISR_Handler( uint32_t vector)
if ( _ISR_Nest_level )
return;
- if ( _Thread_Dispatch_in_critical_section() ) {
+ if ( !_Thread_Dispatch_is_enabled() ) {
return;
}