1
0
mirror of https://github.com/bdring/Grbl_Esp32.git synced 2025-01-29 03:47:38 +01:00

Fixed laser mode issue in parking

The big Settings change lost a ! in the conditional for parking.
This commit is contained in:
Mitch Bradley 2020-08-05 08:27:12 -10:00
parent 8accd660a4
commit 3f3054f5b7

View File

@ -558,12 +558,12 @@ static void protocol_exec_rt_suspend() {
#ifdef ENABLE_PARKING_OVERRIDE_CONTROL
if (homing_enable->get() &&
(parking_target[PARKING_AXIS] < PARKING_TARGET) &&
laser_mode->get() &&
!laser_mode->get() &&
(sys.override_ctrl == OVERRIDE_PARKING_MOTION)) {
#else
if (homing_enable->get() &&
(parking_target[PARKING_AXIS] < PARKING_TARGET) &&
laser_mode->get()) {
!laser_mode->get()) {
#endif
// Retract spindle by pullout distance. Ensure retraction motion moves away from
// the workpiece and waypoint motion doesn't exceed the parking target location.