diff options
-rw-r--r-- | cm3cpp/irq/irq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cm3cpp/irq/irq.cpp b/cm3cpp/irq/irq.cpp index bcff9ff..8bf6fd1 100644 --- a/cm3cpp/irq/irq.cpp +++ b/cm3cpp/irq/irq.cpp @@ -3,7 +3,7 @@ #include "irq.hpp" #define DEFINE_CALLBACK(cfunc, int_enum) \ - void cfunc(void) \ + [[gnu::weak]] void cfunc(void) \ { \ const uint32_t indx = static_cast<uint32_t>(Interrupt::int_enum); \ isr_vector_table[indx]->call(); \ |