From df12e68e7d6098bdb5d6f251a661a49e505fb468 Mon Sep 17 00:00:00 2001 From: Wurstnase Date: Tue, 12 May 2015 09:33:24 +0200 Subject: [PATCH] add missing Z_PROBE-bit --- Marlin/stepper.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Marlin/stepper.cpp b/Marlin/stepper.cpp index 4bc2de84c..508eb3f5f 100644 --- a/Marlin/stepper.cpp +++ b/Marlin/stepper.cpp @@ -579,7 +579,7 @@ ISR(TIMER1_COMPA_vect) { if(z_probe_endstop && old_z_probe_endstop) { endstops_trigsteps[Z_AXIS] = count_position[Z_AXIS]; - endstop_z_probe_hit=true; + endstop_hit_bits |= BIT(Z_PROBE); // if (z_probe_endstop && old_z_probe_endstop) SERIAL_ECHOLN("z_probe_endstop = true"); } @@ -638,7 +638,7 @@ ISR(TIMER1_COMPA_vect) { if(z_probe_endstop && old_z_probe_endstop) { endstops_trigsteps[Z_AXIS] = count_position[Z_AXIS]; - endstop_z_probe_hit=true; + endstop_hit_bits |= BIT(Z_PROBE); // if (z_probe_endstop && old_z_probe_endstop) SERIAL_ECHOLN("z_probe_endstop = true"); } old_z_probe_endstop = z_probe_endstop;