diff options
Diffstat (limited to 'demos/ARM7-AT91SAM7X-GCC/board.c')
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/board.c b/demos/ARM7-AT91SAM7X-GCC/board.c index 2329b0080..754b0b366 100644 --- a/demos/ARM7-AT91SAM7X-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-GCC/board.c @@ -26,7 +26,7 @@ extern void FiqHandler(void);
-CH_IRQ_HANDLER static void SpuriousHandler(void) {
+static CH_IRQ_HANDLER(SpuriousHandler) {
CH_IRQ_PROLOGUE();
@@ -38,7 +38,7 @@ CH_IRQ_HANDLER static void SpuriousHandler(void) { /*
* SYS IRQ handling here.
*/
-CH_IRQ_HANDLER static void SYSIrqHandler(void) {
+static CH_IRQ_HANDLER(SYSIrqHandler) {
CH_IRQ_PROLOGUE();
@@ -48,7 +48,7 @@ CH_IRQ_HANDLER static void SYSIrqHandler(void) { chSysTimerHandlerI();
chSysUnlockI();
}
- AT91C_BASE_AIC->AIC_EOICR = 0; \
+ AT91C_BASE_AIC->AIC_EOICR = 0;
CH_IRQ_EPILOGUE();
}
|