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:
Diffstat (limited to 'src/CAN/CanInterface.cpp')
-rw-r--r--src/CAN/CanInterface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/CAN/CanInterface.cpp b/src/CAN/CanInterface.cpp
index b7827e4d..94aabd0c 100644
--- a/src/CAN/CanInterface.cpp
+++ b/src/CAN/CanInterface.cpp
@@ -332,6 +332,9 @@ void CanInterface::SwitchToExpansionMode(CanAddress addr, bool useTestMode) noex
inExpansionMode = true;
inTestMode = useTestMode;
reprap.GetGCodes().SwitchToExpansionMode();
+#ifdef DUET3_MB6XD
+ reprap.GetPlatform().InitStepGateTimer(); // change the step gate timer to allow longer pulses for ATE
+#endif
ReInit(); // reset the CAN filters to account for our new CAN address
}