diff options
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/aic.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/aic.c b/os/hal/ports/SAMA/SAMA5D2x/aic.c index 9c0ef2a57..22dc8cbc4 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/aic.c +++ b/os/hal/ports/SAMA/SAMA5D2x/aic.c @@ -84,14 +84,8 @@ void aicInit(void) { #if SAMA_HAL_IS_SECURE
Aic *aic = SAIC;
- /* Redirect interrupts */
- uint32_t aicredir = SFR_AICREDIR_AICREDIRKEY(AIC_REDIR_KEY);
- SFR->SFR_AICREDIR = (aicredir ^ SFR->SFR_SN1);
#else
Aic *aic = AIC;
- /* Redirect interrupts */
- uint32_t aicredir = SFR_AICREDIR_AICREDIRKEY(AIC_REDIR_KEY);
- SFR->SFR_AICREDIR = (aicredir ^ SFR->SFR_SN1) | SFR_AICREDIR_NSAIC;
#endif
unsigned i;
|