diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-17 14:10:10 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-02-17 14:10:10 +0000 |
commit | f5d55ccbc39fc7054ae5759dbea0c496ce0711a7 (patch) | |
tree | 8859bf0ccb3eed95a87600ef0723a86e35ec0978 /boards/OLIMEX_SAM7_EX256 | |
parent | df2a9909241e09bed7e1028d1e27030073182649 (diff) | |
download | ChibiOS-f5d55ccbc39fc7054ae5759dbea0c496ce0711a7.tar.gz ChibiOS-f5d55ccbc39fc7054ae5759dbea0c496ce0711a7.tar.bz2 ChibiOS-f5d55ccbc39fc7054ae5759dbea0c496ce0711a7.zip |
Fixed bug 3605058.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5227 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'boards/OLIMEX_SAM7_EX256')
-rw-r--r-- | boards/OLIMEX_SAM7_EX256/board.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/boards/OLIMEX_SAM7_EX256/board.c b/boards/OLIMEX_SAM7_EX256/board.c index b244c4412..7366590c1 100644 --- a/boards/OLIMEX_SAM7_EX256/board.c +++ b/boards/OLIMEX_SAM7_EX256/board.c @@ -52,11 +52,12 @@ static CH_IRQ_HANDLER(SYSIrqHandler) { }
#if USE_SAM7_DBGU_UART
- if (AT91C_BASE_DBGU->DBGU_CSR &
- (AT91C_US_RXRDY | AT91C_US_TXRDY | AT91C_US_PARE | AT91C_US_FRAME | AT91C_US_OVRE | AT91C_US_RXBRK)) {
- sd_lld_serve_interrupt(&SD3);
+ if (AT91C_BASE_DBGU->DBGU_CSR &
+ (AT91C_US_RXRDY | AT91C_US_TXRDY | AT91C_US_PARE | AT91C_US_FRAME |
+ AT91C_US_OVRE | AT91C_US_RXBRK)) {
+ sd_lld_serve_interrupt(&SDDBG);
}
-#endif
+#endif
AT91C_BASE_AIC->AIC_EOICR = 0;
CH_IRQ_EPILOGUE();
}
|