From c5caa48065f0146c6e3f281bc42cdd10045d073d Mon Sep 17 00:00:00 2001 From: Luca Toniolo <10792599+grandixximo@users.noreply.github.com> Date: Sun, 22 Nov 2026 11:47:05 +1100 Subject: [PATCH] motion: probe start errors name only the G38 code that gets them The error for a probe already in the target state said "G38.2 or G38.3" and "G38.4 or G38.5", but only G38.2 and G38.4 get it. G38.3 and G38.5 skip the check, trip at once at the start point and set #5070 to 1. The message made users think the no-error variants abort too. --- src/emc/motion/command.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emc/motion/command.c b/src/emc/motion/command.c index f6f92c9f8f4..b2aadfa8c91 100644 --- a/src/emc/motion/command.c +++ b/src/emc/motion/command.c @@ -1462,9 +1462,9 @@ void emcmotCommandHandler_locked(void *arg, long servo_period) if (probeval != probe_whenclears) { // the probe is already in the state we're seeking. if(probe_whenclears) - reportError(_("Probe is already clear when starting G38.4 or G38.5 move")); + reportError(_("Probe is already clear when starting G38.4 move")); else - reportError(_("Probe is already tripped when starting G38.2 or G38.3 move")); + reportError(_("Probe is already tripped when starting G38.2 move")); emcmotStatus->commandStatus = EMCMOT_COMMAND_BAD_EXEC; tpAbort(&emcmotInternal->coord_tp);