mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-13 10:04:28 +02:00
Fixed laser mode issue in parking
The big Settings change lost a ! in the conditional for parking.
This commit is contained in:
@@ -558,12 +558,12 @@ static void protocol_exec_rt_suspend() {
|
|||||||
#ifdef ENABLE_PARKING_OVERRIDE_CONTROL
|
#ifdef ENABLE_PARKING_OVERRIDE_CONTROL
|
||||||
if (homing_enable->get() &&
|
if (homing_enable->get() &&
|
||||||
(parking_target[PARKING_AXIS] < PARKING_TARGET) &&
|
(parking_target[PARKING_AXIS] < PARKING_TARGET) &&
|
||||||
laser_mode->get() &&
|
!laser_mode->get() &&
|
||||||
(sys.override_ctrl == OVERRIDE_PARKING_MOTION)) {
|
(sys.override_ctrl == OVERRIDE_PARKING_MOTION)) {
|
||||||
#else
|
#else
|
||||||
if (homing_enable->get() &&
|
if (homing_enable->get() &&
|
||||||
(parking_target[PARKING_AXIS] < PARKING_TARGET) &&
|
(parking_target[PARKING_AXIS] < PARKING_TARGET) &&
|
||||||
laser_mode->get()) {
|
!laser_mode->get()) {
|
||||||
#endif
|
#endif
|
||||||
// Retract spindle by pullout distance. Ensure retraction motion moves away from
|
// Retract spindle by pullout distance. Ensure retraction motion moves away from
|
||||||
// the workpiece and waypoint motion doesn't exceed the parking target location.
|
// the workpiece and waypoint motion doesn't exceed the parking target location.
|
||||||
|
Reference in New Issue
Block a user