diff options
-rw-r--r-- | os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c b/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c index 63cd35d85..705ed96f9 100644 --- a/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c +++ b/os/hal/ports/SAMA/SAMA5D2x/sama_secumod.c @@ -113,6 +113,7 @@ OSAL_IRQ_HANDLER(SAMA_SECUMOD_HANDLER) { /* Read alarm status */
sr = SECUMOD->SECUMOD_SR;
+ nimpr = SECUMOD->SECUMOD_NIMPR;
if ((sr & SECUMOD_SR_SHLDM) && (nimpr & SECUMOD_NIMPR_SHLDM)) {
SECD0.secumod_callback(&SECD0, SEC_EVENT_SHLDM);
|