diff options
-rw-r--r-- | include/system.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/system.h b/include/system.h index ef86d821aa..854f2b3557 100644 --- a/include/system.h +++ b/include/system.h @@ -24,6 +24,8 @@ * because it leaves some (NMI and faults) still enabled. */ #define interrupt_disable_all() __asm__("cpsid i") +#elif CONFIG_ZTEST +#define interrupt_disable_all() #endif #else /* !CONFIG_ZEPHYR */ #define interrupt_disable_all() interrupt_disable() |