diff --git a/os/hal/ports/SAMA/SAMA5D2x/aic.h b/os/hal/ports/SAMA/SAMA5D2x/aic.h index eff492e66..92a924b31 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/aic.h +++ b/os/hal/ports/SAMA/SAMA5D2x/aic.h @@ -45,6 +45,14 @@ /* Driver macros. */ /*===========================================================================*/ +/** + * @brief Acknowledge the current interrupt. + * + */ +#define aicAckInt() { \ + SAIC->AIC_EOICR = AIC_EOICR_ENDIT; \ +} + /*===========================================================================*/ /* External declarations. */ /*===========================================================================*/