|
@@ -34,6 +34,7 @@
|
34
|
34
|
#include "../../../module/planner.h"
|
35
|
35
|
#include "../../../module/stepper.h"
|
36
|
36
|
#include "../../../module/probe.h"
|
|
37
|
+#include "../../queue.h"
|
37
|
38
|
|
38
|
39
|
#if ENABLED(LCD_BED_LEVELING) && ENABLED(PROBE_MANUALLY)
|
39
|
40
|
#include "../../../lcd/ultralcd.h"
|
|
@@ -344,7 +345,7 @@ void GcodeSuite::G29() {
|
344
|
345
|
right_probe_bed_position = parser.seenval('R') ? (int)RAW_X_POSITION(parser.value_linear_units()) : RIGHT_PROBE_BED_POSITION;
|
345
|
346
|
front_probe_bed_position = parser.seenval('F') ? (int)RAW_Y_POSITION(parser.value_linear_units()) : FRONT_PROBE_BED_POSITION;
|
346
|
347
|
back_probe_bed_position = parser.seenval('B') ? (int)RAW_Y_POSITION(parser.value_linear_units()) : BACK_PROBE_BED_POSITION;
|
347
|
|
-
|
|
348
|
+
|
348
|
349
|
const bool left_out_l = left_probe_bed_position < MIN_PROBE_X,
|
349
|
350
|
left_out = left_out_l || left_probe_bed_position > right_probe_bed_position - (MIN_PROBE_EDGE),
|
350
|
351
|
right_out_r = right_probe_bed_position > MAX_PROBE_X,
|