From 7186edc683d3afe484432357da874ac3d9fd96e3 Mon Sep 17 00:00:00 2001 From: Bertho Stultiens Date: Fri, 31 Jul 2026 14:19:04 +0200 Subject: [PATCH] homing: Remove the unconditional assignment that must be gated by the if(). --- src/emc/motion/homing.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/emc/motion/homing.c b/src/emc/motion/homing.c index 6bf17dd03a3..662cd2f3591 100644 --- a/src/emc/motion/homing.c +++ b/src/emc/motion/homing.c @@ -557,7 +557,6 @@ static void base_write_homing_out_pins(int njoints) // must be delayed until the state machine is done. hal_set_bool(addr->homing, H[jno].homing); } - hal_set_bool(addr->homing, H[jno].homing); // OUT hal_set_bool(addr->homed, H[jno].homed); // OUT hal_set_si32(addr->home_state, H[jno].home_state); // OUT // index_enable is a HAL_IO pin: the encoder driver also writes it