mirror of
https://github.com/grblHAL/core.git
synced 2026-08-17 08:31:43 +08:00
Now allows some $-commands while critical events are active or in sleep mode.
Added work envelope data to global sys struct, used by soft limits and jog limit handling.
This commit is contained in:
+7
-2
@@ -929,8 +929,13 @@ status_code_t mc_homing_cycle (axes_signals_t cycle)
|
||||
? Status_LimitsEngaged
|
||||
: Status_OK;
|
||||
|
||||
if(homed_status == Status_OK && grbl.on_homing_completed)
|
||||
grbl.on_homing_completed();
|
||||
if(homed_status == Status_OK) {
|
||||
|
||||
limits_set_work_envelope();
|
||||
|
||||
if(grbl.on_homing_completed)
|
||||
grbl.on_homing_completed();
|
||||
}
|
||||
|
||||
return homed_status;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user