diff options
author | Manuel Coenen <manuel@duet3d.com> | 2021-01-19 18:09:51 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2021-01-19 18:09:51 +0300 |
commit | b52fe6b5480ec8fdef388ca2273b038e3d2b334c (patch) | |
tree | 66ffdd242641f62c04eda234390bb7c171c9ddec /src/Hardware/ExceptionHandlers.cpp | |
parent | 13f2a61c28178b8457361f05650c19b5c09e3c37 (diff) |
Restore compilability for SAM4E/4S builds
Diffstat (limited to 'src/Hardware/ExceptionHandlers.cpp')
-rw-r--r-- | src/Hardware/ExceptionHandlers.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Hardware/ExceptionHandlers.cpp b/src/Hardware/ExceptionHandlers.cpp index c1fa5186..17c5c4b5 100644 --- a/src/Hardware/ExceptionHandlers.cpp +++ b/src/Hardware/ExceptionHandlers.cpp @@ -20,8 +20,10 @@ cpu_irq_disable(); // disable interrupts before we call any flash functions. We don't enable them again. WatchdogReset(); // kick the watchdog -#if SAM4E || SAME70 - WatchdogResetSecondary(); // kick the secondary watchdog +#if SAM4E + rswdt_restart(RSWDT); // kick the secondary watchdog +#elif SAME70 + WatchdogResetSecondary(); // kick the secondary watchdog #endif Cache::Disable(); |