Import LinuxCNC source tree

This commit is contained in:
Wang Dequan
2026-08-20 06:17:39 +08:00
commit 2c814634c3
9429 changed files with 10556013 additions and 0 deletions

19
nc_files/ngcgui_lib/mfiles/M110 Executable file
View File

@@ -0,0 +1,19 @@
#!/bin/sh
# Clear axis info notifications
# use in gcode subroutines and/or connect to pushbutton
# M1nn files must exist _before_ starting emc
# in the [DISPLAY]PROGRAM_PREFIX
# or in a dir specified by [RS274NGC]USER_M_PATH
# the pin for axisui.notifications-clear-info is in emc-2.4pre
# using an earlier version will print error to stdout
halcmd setp axisui.notifications-clear-info 1
sleep .100 ;# requires a sleep that does <1
halcmd setp axisui.notifications-clear-info 0
# if a M1nn command fails and its script exits with nonzero status,
# the gcode program exits. So always exit 0, and make sure
# the M1nn command prints a message in order to keep on going.
exit 0