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>2020-11-22 00:30:22 +0300
committerDavid Crocker <dcrocker@eschertech.com>2020-11-22 00:30:22 +0300
commit302b4435100b77bcf92ae92bf4dd4845027b6b3c (patch)
treee12228e065669c1830e1d93d6827e48be282d04b /src/Hardware/SAME70
parent02312928a3fa09fcfe65fcbfdf21383a90563080 (diff)
Fixed use of RSWDT in SAME70 builds
Diffstat (limited to 'src/Hardware/SAME70')
-rw-r--r--src/Hardware/SAME70/CanDriver.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Hardware/SAME70/CanDriver.cpp b/src/Hardware/SAME70/CanDriver.cpp
index d91f1847..fd51480c 100644
--- a/src/Hardware/SAME70/CanDriver.cpp
+++ b/src/Hardware/SAME70/CanDriver.cpp
@@ -732,8 +732,9 @@ bool WaitForTxBufferFree(mcan_module *const module_inst, uint32_t whichTxBuffer,
{
delay(1);
}
+ return true;
}
- return true;
+ return false;
}
// Get a message from a FIFO with timeout. Return true if successful, false if we timed out