Skip to content

Commit c1230cc

Browse files
committed
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).
1 parent f01903d commit c1230cc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

configs/sim/touchy/touchy.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ MACHINE = LinuxCNC-TOUCHY
1010

1111
# Debug level, 0 means no messages. See src/emc/nml_int/emcglb.h for others
1212
#DEBUG = 0x7FFFFFFF
13-
DEBUG = 0x10
13+
DEBUG = 0
1414

1515
[DISPLAY]
1616

0 commit comments

Comments
 (0)