forked from Imagelibrary/rtems
@@ -427,7 +427,7 @@ RTEMS_INLINE_ROUTINE bool _CPU_ISR_Is_enabled( uint32_t level )
|
|||||||
#if defined(ARM_MULTILIB_ARCH_V4)
|
#if defined(ARM_MULTILIB_ARCH_V4)
|
||||||
return ( level & 0x80 ) == 0;
|
return ( level & 0x80 ) == 0;
|
||||||
#elif defined(ARM_MULTILIB_ARCH_V7M)
|
#elif defined(ARM_MULTILIB_ARCH_V7M)
|
||||||
return level > 0x80;
|
return level == 0;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user