diff options
author | Ilya Stolyarov <i.stolyarov@thirdpin.ru> | 2019-08-29 18:56:40 +0300 |
---|---|---|
committer | Ilya Stolyarov <i.stolyarov@thirdpin.ru> | 2019-08-29 18:56:40 +0300 |
commit | 173b4b9f5e200323e2749256f841d9a09918b5f7 (patch) | |
tree | fbe638cc4a0d274bddef030bca47d9b271a5e45a | |
parent | 8da206bb5556d35d0c90b88b380e74801b4049fd (diff) |
IMPR: [isr] Possibility not to use cm3cpp_irqadagio_ivs
-rw-r--r-- | irq/cm3cpp_irq.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/irq/cm3cpp_irq.cpp b/irq/cm3cpp_irq.cpp index 1e1dd0d..313809c 100644 --- a/irq/cm3cpp_irq.cpp +++ b/irq/cm3cpp_irq.cpp @@ -1,7 +1,7 @@ #include "cm3cpp_irq.h" #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(); \ |