From 4a39c852bf4623aedf57dcb22c46ac8a1495bc92 Mon Sep 17 00:00:00 2001 From: Erik Morbach Date: Thu, 3 Nov 2022 11:50:48 -0300 Subject: [PATCH] bug on single axis home When Using single axis home, after homing the status remains 'Home'. Inverting the logic resolves. --- motion_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/motion_control.c b/motion_control.c index d42c8f0..89e9356 100644 --- a/motion_control.c +++ b/motion_control.c @@ -888,7 +888,7 @@ status_code_t mc_homing_cycle (axes_signals_t cycle) // Perform homing routine. NOTE: Special motion case. Only system reset works. if (!home_all) // Perform homing cycle based on mask. - homed_status = !limits_go_home(cycle); + homed_status = limits_go_home(cycle); else { uint_fast8_t idx = 0;