|
@@ -579,7 +579,7 @@ ISR(TIMER1_COMPA_vect) {
|
579
|
579
|
if(z_probe_endstop && old_z_probe_endstop)
|
580
|
580
|
{
|
581
|
581
|
endstops_trigsteps[Z_AXIS] = count_position[Z_AXIS];
|
582
|
|
- endstop_z_probe_hit=true;
|
|
582
|
+ endstop_hit_bits |= BIT(Z_PROBE);
|
583
|
583
|
|
584
|
584
|
// if (z_probe_endstop && old_z_probe_endstop) SERIAL_ECHOLN("z_probe_endstop = true");
|
585
|
585
|
}
|
|
@@ -638,7 +638,7 @@ ISR(TIMER1_COMPA_vect) {
|
638
|
638
|
if(z_probe_endstop && old_z_probe_endstop)
|
639
|
639
|
{
|
640
|
640
|
endstops_trigsteps[Z_AXIS] = count_position[Z_AXIS];
|
641
|
|
- endstop_z_probe_hit=true;
|
|
641
|
+ endstop_hit_bits |= BIT(Z_PROBE);
|
642
|
642
|
// if (z_probe_endstop && old_z_probe_endstop) SERIAL_ECHOLN("z_probe_endstop = true");
|
643
|
643
|
}
|
644
|
644
|
old_z_probe_endstop = z_probe_endstop;
|