Minor fix for the grbl.on_state_changed event - incorrect state published following stop signal when streaming gcode.

Added core event for real-time report elements beeing forced++
This commit is contained in:
Terje Io
2023-03-06 20:39:12 +01:00
parent b55386cbf6
commit c7a6f049e4
19 changed files with 203 additions and 82 deletions
+1 -1
View File
@@ -924,7 +924,7 @@ status_code_t mc_homing_cycle (axes_signals_t cycle)
sync_position();
}
sys.report.homed = On;
system_add_rt_report(Report_Homed);
homed_status = settings.limits.flags.hard_enabled && settings.limits.flags.check_at_init && limit_signals_merge(hal.limits.get_state()).value
? Status_LimitsEngaged