diff options
author | David Crocker <dcrocker@eschertech.com> | 2020-12-14 18:15:32 +0300 |
---|---|---|
committer | David Crocker <dcrocker@eschertech.com> | 2020-12-14 18:15:32 +0300 |
commit | 6bb82cf378ae3cada270c4d1933876e6544b3d66 (patch) | |
tree | 1f6fd0908c648349710112a1597498bbed660560 /src/Endstops/ZProbe.cpp | |
parent | c91cddf8642f196be5625b3db2e9eb4e15ff3ac2 (diff) |
Reworked stall detection endstops and implemented them for TMC2209
Diffstat (limited to 'src/Endstops/ZProbe.cpp')
-rw-r--r-- | src/Endstops/ZProbe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Endstops/ZProbe.cpp b/src/Endstops/ZProbe.cpp index cc126400..e3e0bbd7 100644 --- a/src/Endstops/ZProbe.cpp +++ b/src/Endstops/ZProbe.cpp @@ -163,7 +163,7 @@ int ZProbe::GetReading() const noexcept #if HAS_STALL_DETECT { const DriversBitmap zDrivers = reprap.GetPlatform().GetAxisDriversConfig(Z_AXIS).GetDriversBitmap(); - zProbeVal = (zDrivers.Intersects(GetStalledDrivers())) ? 1000 : 0; + zProbeVal = (GetStalledDrivers(zDrivers).IsNonEmpty()) ? 1000 : 0; } #else return 1000; |