From c1230ccd07059e52291e1ab3c36dc660b76b71fa Mon Sep 17 00:00:00 2001 From: Luca Toniolo <10792599+grandixximo@users.noreply.github.com> Date: Sat, 30 May 2026 09:06:43 +0800 Subject: [PATCH] sim/touchy: disable EMC_DEBUG_TASK_ISSUE logging (DEBUG=0) touchy.ini was the only sim config shipping a non-zero DEBUG (0x10 = EMC_DEBUG_TASK_ISSUE). That flag makes task log every issued NML command as an ASCII string via emcCommandBuffer->msg2str(), which lazily creates a CMS_DISPLAY_ASCII_UPDATER and prints its scary 'may not function properly due to range limitations' banner on startup. The emcCommand buffer is correctly xdr-encoded; the ASCII updater is only a temporary string-conversion helper for the debug log. Setting DEBUG=0 (matching axis and gmoccapy sims) stops the task-issue logging and the spurious banner. No functional change to touchy. Surfaced by the ui-smoke tests (#4054). --- configs/sim/touchy/touchy.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/sim/touchy/touchy.ini b/configs/sim/touchy/touchy.ini index e1cad6e3dd0..369d601b336 100644 --- a/configs/sim/touchy/touchy.ini +++ b/configs/sim/touchy/touchy.ini @@ -10,7 +10,7 @@ MACHINE = LinuxCNC-TOUCHY # Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others #DEBUG = 0x7FFFFFFF -DEBUG = 0x10 +DEBUG = 0 [DISPLAY]