Skip to content

Commit

Permalink
Fixed laser mode issue in parking
Browse files Browse the repository at this point in the history
The big Settings change lost a ! in the conditional for parking.
  • Loading branch information
MitchBradley committed Aug 5, 2020
1 parent 8accd66 commit 3f3054f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Grbl_Esp32/protocol.cpp
Expand Up @@ -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.
Expand Down

0 comments on commit 3f3054f

Please sign in to comment.