diff options
author | Manuel Coenen <manuel@duet3d.com> | 2021-01-15 17:52:02 +0300 |
---|---|---|
committer | Manuel Coenen <manuel@duet3d.com> | 2021-01-19 13:22:32 +0300 |
commit | e48e001033e373a8c59cf7892d7a4b8a5a7c9283 (patch) | |
tree | 478ddabd2e224e73d0b17a822c05d92fe2b0919a /src/RepRap.cpp | |
parent | ed1f834bc57412ab58f3a9abb647e13f11e4b809 (diff) |
Fix all compiler bugs (linker still unhappy)
Diffstat (limited to 'src/RepRap.cpp')
-rw-r--r-- | src/RepRap.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/RepRap.cpp b/src/RepRap.cpp index 192b4e33..b93018d5 100644 --- a/src/RepRap.cpp +++ b/src/RepRap.cpp @@ -98,7 +98,7 @@ extern "C" void HSMCI_Handler() noexcept #if SAME70 // HSMCI DMA complete callback -void HsmciDmaCallback(CallbackParameter cp) noexcept +void HsmciDmaCallback(CallbackParameter cb, DmaCallbackReason reason) noexcept { HSMCI->HSMCI_IDR = 0xFFFFFFFF; // disable all HSMCI interrupts XDMAC->XDMAC_CHID[DmacChanHsmci].XDMAC_CID = 0xFFFFFFFF; // disable all DMA interrupts for this channel @@ -2835,7 +2835,7 @@ void RepRap::StartIap() noexcept WatchdogReset(); // kick the watchdog one last time #if SAM4E || SAME70 - rswdt_restart(RSWDT); // kick the secondary watchdog + WatchdogResetSecondary(); // kick the secondary watchdog #endif // Modify vector table location |