diff options
Diffstat (limited to 'demos/ARM7-AT91SAM7X-GCC/board.c')
-rw-r--r-- | demos/ARM7-AT91SAM7X-GCC/board.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/ARM7-AT91SAM7X-GCC/board.c b/demos/ARM7-AT91SAM7X-GCC/board.c index 4231780bf..3a5539587 100644 --- a/demos/ARM7-AT91SAM7X-GCC/board.c +++ b/demos/ARM7-AT91SAM7X-GCC/board.c @@ -40,8 +40,8 @@ static void SYSIrqHandler(void) { chSysIRQEnterI();
if (AT91C_BASE_PITC->PITC_PISR & AT91C_PITC_PITS) {
- chSysTimerHandlerI();
(void) AT91C_BASE_PITC->PITC_PIVR;
+ chSysTimerHandlerI();
}
chSysIRQExitI();
|