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