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:
authorManuel Coenen <manuel@duet3d.com>2021-01-20 15:00:53 +0300
committerManuel Coenen <manuel@duet3d.com>2021-01-20 15:00:53 +0300
commiteeeb1c4d56b3a305bac9e32e99895e8f5e69ec7c (patch)
tree20671df416e3eb9bd03837fce0ef93a5504963f5 /src/Movement
parent2b8228948d03faafc18626d5d7b2f00b72b8e85d (diff)
Fix TMC51xx Miso/Mosi/Sclk pin modes
Remove CanDriver as no longer required Clean-up PinTable
Diffstat (limited to 'src/Movement')
-rw-r--r--src/Movement/StepperDrivers/TMC51xx.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Movement/StepperDrivers/TMC51xx.cpp b/src/Movement/StepperDrivers/TMC51xx.cpp
index 7c7cc108..5b5c4bc5 100644
--- a/src/Movement/StepperDrivers/TMC51xx.cpp
+++ b/src/Movement/StepperDrivers/TMC51xx.cpp
@@ -1240,8 +1240,8 @@ void SmartDrivers::Init() noexcept
#else
// The pins are already set up for SPI in the pins table
SetPinFunction(TMC51xxMosiPin, TMC51xxMosiPinPeriphMode);
- SetPinFunction(TMC51xxMisoPin, TMC51xxMosiPinPeriphMode);
- SetPinFunction(TMC51xxSclkPin, TMC51xxMisoPinPeriphMode);
+ SetPinFunction(TMC51xxMisoPin, TMC51xxMisoPinPeriphMode);
+ SetPinFunction(TMC51xxSclkPin, TMC51xxSclkPinPeriphMode);
// Enable the clock to the USART or SPI
pmc_enable_periph_clk(ID_TMC51xx_SPI);