Made named O-call LinuxCNC compliant by changing name to lowercase.

Fix for parking motion using `$32` laser mode setting when it should use the current spindle mode.
For developers: changed signature of `hal.stream.on_linestate_changed()` to include stream properties.
This commit is contained in:
Terje Io
2026-06-19 20:56:58 +02:00
parent 41abd8c84d
commit fe7632bb7d
12 changed files with 102 additions and 58 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ ISR_CODE void ISR_FUNC(control_interrupt_handler)(control_signals_t signals)
// NOTE: at least for lasers there should be an external interlock blocking laser power.
if(state_get() != STATE_IDLE && state_get() != STATE_JOG)
system_set_exec_state_flag(EXEC_SAFETY_DOOR);
if(settings.mode == Mode_Laser) // Turn off spindle immediately (laser) when in laser mode
if(gc_spindle_get(0)->hal->cap.laser) // Turn off spindle immediately (laser) when in laser mode
spindle_all_off(true);
} else
system_set_exec_state_flag(EXEC_SAFETY_DOOR);