diff options
author | David Crocker <dcrocker@eschertech.com> | 2019-09-21 16:17:13 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2019-09-21 16:17:13 +0300 |
commit | 05fa94b6bbcf3f4dcc099978f9eb3b78e96ec908 (patch) | |
tree | 0472e9c53f69f8bf94fe47f1963d0357c18a3f56 /src/PortControl.cpp | |
parent | 47855aa4e583b30fb2d9e2416b230b111568e905 (diff) |
More support for remote endstops
Diffstat (limited to 'src/PortControl.cpp')
-rw-r--r-- | src/PortControl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/PortControl.cpp b/src/PortControl.cpp index e06d9205..9f19572f 100644 --- a/src/PortControl.cpp +++ b/src/PortControl.cpp @@ -40,7 +40,7 @@ uint32_t PortControl::UpdatePorts() } SetBasePriority(NvicPriorityStep); - const DDA * cdda = reprap.GetMove().GetCurrentDDA(); + const DDA * cdda = reprap.GetMove().GetMainDDARing().GetCurrentDDA(); if (cdda == nullptr) { // Movement has stopped, so turn all ports off |