diff options
Diffstat (limited to 'demos/ARM7-AT91SAM7X-WEB-GCC/board.c')
-rw-r--r-- | demos/ARM7-AT91SAM7X-WEB-GCC/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/ARM7-AT91SAM7X-WEB-GCC/board.c b/demos/ARM7-AT91SAM7X-WEB-GCC/board.c index 87bc438ea..38c91d9fa 100644 --- a/demos/ARM7-AT91SAM7X-WEB-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-WEB-GCC/board.c @@ -27,7 +27,7 @@ extern void FiqHandler(void);
-CH_IRQ_HANDLER static void SpuriousHandler(void) {
+static CH_IRQ_HANDLER(SpuriousHandler) {
CH_IRQ_PROLOGUE();
@@ -39,7 +39,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();
@@ -49,7 +49,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();
}
|