diff options
Diffstat (limited to 'cm3cpp/irq/irq.cpp')
-rw-r--r-- | cm3cpp/irq/irq.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cm3cpp/irq/irq.cpp b/cm3cpp/irq/irq.cpp index bc7320a..bcff9ff 100644 --- a/cm3cpp/irq/irq.cpp +++ b/cm3cpp/irq/irq.cpp @@ -11,6 +11,8 @@ namespace cm3cpp { +#ifndef CM3CPP_CUSTOM_INTERRUPT_SERVICE + struct EmptyInterrupt : public IInterruptable { void call() {} @@ -223,4 +225,6 @@ DEFINE_CALLBACK(dma2d_isr, ISR_DMA2D) END_DECLS +#endif // CM3CPP_CUSTOM_INTERRUPT_SERVICE + } // namespace cm3cpp |