diff options
Diffstat (limited to 'src/Endstops/ZProbeEndstop.cpp')
-rw-r--r-- | src/Endstops/ZProbeEndstop.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Endstops/ZProbeEndstop.cpp b/src/Endstops/ZProbeEndstop.cpp index c4c919a0..3ded0c6a 100644 --- a/src/Endstops/ZProbeEndstop.cpp +++ b/src/Endstops/ZProbeEndstop.cpp @@ -28,7 +28,7 @@ EndStopHit ZProbeEndstop::Stopped() const noexcept bool ZProbeEndstop::Prime(const Kinematics& kin, const AxisDriversConfig& axisDrivers) noexcept { // Decide whether we stop just the driver, just the axis, or everything - stopAll = (kin.GetConnectedAxes(GetAxis()) & ~MakeBitmap<AxesBitmap>(GetAxis())) != 0; + stopAll = kin.GetConnectedAxes(GetAxis()).Intersects(~AxesBitmap::MakeFromBits(GetAxis())); #if SUPPORT_CAN_EXPANSION //TODO if the Z probe is remote, check that the expansion board knows about it |