diff options
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 |