summaryrefslogtreecommitdiff
path: root/interrupt/fault.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'interrupt/fault.cpp')
-rw-r--r--interrupt/fault.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/interrupt/fault.cpp b/interrupt/fault.cpp
index 0a0410b..0d91c1d 100644
--- a/interrupt/fault.cpp
+++ b/interrupt/fault.cpp
@@ -3,7 +3,7 @@
#include <os/time.h>
inline void __attribute__((naked)) switch_context() {
- #if ! defined(STM32L0) // TODO: cortex-m0/+ unsupported for now.
+ #if ! (defined(STM32F0) || defined(STM32L0)) // TODO: cortex-m0/+ unsupported for now.
asm volatile ("cpsid i");