diff options
author | edolomb <none@example.com> | 2018-03-20 15:47:39 +0000 |
---|---|---|
committer | edolomb <none@example.com> | 2018-03-20 15:47:39 +0000 |
commit | 6d1e6cca8fb3077f455d3852d1e39d70c5f89997 (patch) | |
tree | 9226542764404f21c65fd552010e6c2d7b1407bb /os | |
parent | 4f9fb4379d8980d40e9f8f82564b193718c4fb6c (diff) | |
download | ChibiOS-6d1e6cca8fb3077f455d3852d1e39d70c5f89997.tar.gz ChibiOS-6d1e6cca8fb3077f455d3852d1e39d70c5f89997.tar.bz2 ChibiOS-6d1e6cca8fb3077f455d3852d1e39d70c5f89997.zip |
Fixed bug
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11828 110e8d01-0319-4d1e-a829-52ad28d1bb01
Diffstat (limited to 'os')
-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);
|