diff options
Diffstat (limited to 'c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c')
-rw-r--r-- | c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c b/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c index fcc867f493..77945aeddf 100644 --- a/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c +++ b/c/src/lib/libcpu/sh/sh7750/score/cpu_asm.c @@ -95,7 +95,7 @@ void __ISR_Handler( uint32_t vector) if ( _ISR_Nest_level ) return; - if ( _Thread_Dispatch_in_critical_section() ) { + if ( !_Thread_Dispatch_is_enabled() ) { return; } |