diff options
author | David Crocker <dcrocker@eschertech.com> | 2021-12-21 14:15:35 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2021-12-21 14:15:35 +0300 |
commit | 13f51fcd3b22ef9dc4798607d8b27f185d7358b5 (patch) | |
tree | 41829410b5ed13317bb3832541576b291e1c0242 /src/Hardware/SAM4E | |
parent | 048200063a1a3e576717311380a6b9eef314c0cd (diff) |
Recognise DueX v0.11 boards and adjust default thermistor series R
Diffstat (limited to 'src/Hardware/SAM4E')
-rw-r--r-- | src/Hardware/SAM4E/Main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Hardware/SAM4E/Main.cpp b/src/Hardware/SAM4E/Main.cpp index 355443b4..ef1f0a18 100644 --- a/src/Hardware/SAM4E/Main.cpp +++ b/src/Hardware/SAM4E/Main.cpp @@ -15,10 +15,10 @@ void AppInit() noexcept // When the reset button is pressed on pre-production Duet WiFi boards, if the TMC2660 drivers were previously enabled then we get // uncommanded motor movements if the STEP lines pick up any noise. Try to reduce that by initialising the pins that control the drivers early here. // On the production boards the ENN line is pulled high by an external pullup resistor and that prevents motor movements. + // We no longer do the direction pins because we use some of those as board version indicators. for (size_t drive = 0; drive < MaxSmartDrivers; ++drive) { pinMode(STEP_PINS[drive], OUTPUT_LOW); - pinMode(DIRECTION_PINS[drive], OUTPUT_LOW); pinMode(ENABLE_PINS[drive], OUTPUT_HIGH); } } |