diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-04-02 13:46:24 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-04-02 13:46:24 +0300 |
commit | 52afd5e7f34200a7ae9d3d9b56e95acc5300c6d0 (patch) | |
tree | d57d39053510c8ea26e23b4e3bc1c5cabbf70141 /src/Hardware/ExceptionHandlers.cpp | |
parent | a38e510ce9bd34bce7fab6923297cb11b0e161a7 (diff) |
Use new interrupt enable/disable functions in CoreN2G
Diffstat (limited to 'src/Hardware/ExceptionHandlers.cpp')
-rw-r--r-- | src/Hardware/ExceptionHandlers.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hardware/ExceptionHandlers.cpp b/src/Hardware/ExceptionHandlers.cpp index 24a25bba..7253f5cf 100644 --- a/src/Hardware/ExceptionHandlers.cpp +++ b/src/Hardware/ExceptionHandlers.cpp @@ -17,7 +17,7 @@ // Perform a software reset. 'stk' points to the exception stack (r0 r1 r2 r3 r12 lr pc xPSR) if the cause is an exception, otherwise it is nullptr. [[noreturn]] void SoftwareReset(SoftwareResetReason initialReason, const uint32_t *stk) noexcept { - cpu_irq_disable(); // disable interrupts before we call any flash functions. We don't enable them again. + IrqDisable(); // disable interrupts before we call any flash functions. We don't enable them again. WatchdogReset(); // kick the watchdog #if SAME70 || SAM4E |