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