Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/Duet3D/RepRapFirmware.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Crocker <dcrocker@eschertech.com>2021-04-02 13:46:24 +0300
committerDavid Crocker <dcrocker@eschertech.com>2021-04-02 13:46:24 +0300
commit52afd5e7f34200a7ae9d3d9b56e95acc5300c6d0 (patch)
treed57d39053510c8ea26e23b4e3bc1c5cabbf70141 /src/Hardware/ExceptionHandlers.cpp
parenta38e510ce9bd34bce7fab6923297cb11b0e161a7 (diff)
Use new interrupt enable/disable functions in CoreN2G
Diffstat (limited to 'src/Hardware/ExceptionHandlers.cpp')
-rw-r--r--src/Hardware/ExceptionHandlers.cpp2
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