Cleanup for dual endstops homing

This commit is contained in:
Scott Lahteine
2018-06-02 16:50:22 -05:00
parent d32beafd21
commit 9641bae325
4 changed files with 48 additions and 39 deletions

View File

@@ -562,7 +562,7 @@ void Endstops::update() {
if (dual_hit) { \
_ENDSTOP_HIT(AXIS1, MINMAX); \
/* if not performing home or if both endstops were trigged during homing... */ \
if (!stepper.performing_homing || dual_hit == 0x3) \
if (!stepper.homing_dual_axis || dual_hit == 0x3) \
planner.endstop_triggered(_AXIS(AXIS1)); \
} \
}while(0)