No motion constraint before homing

Sensible approach to soft endstops before the machine is homed.

Ref: https://github.com/MarlinFirmware/Marlin/pull/15027#issuecomment-533301094
Co-Authored-By: comps <comps@nomail.dom>
This commit is contained in:
Scott Lahteine 2019-09-28 21:35:42 -05:00
parent ddded80ff3
commit 81b9c7c6ee

View File

@ -573,7 +573,7 @@ void restore_feedrate_and_scaling() {
*/ */
void apply_motion_limits(float target[XYZ]) { void apply_motion_limits(float target[XYZ]) {
if (!soft_endstops_enabled) return; if (!soft_endstops_enabled || !all_axes_homed()) return;
#if IS_KINEMATIC #if IS_KINEMATIC