Move reachable test to Probe class
This commit is contained in:
1 parent
9f8ee31144
commit
be62ab2d02
9 files changed
+69
-77
No files matched your search
@@ -43,7 +43,7 @@ void GcodeSuite::G30() {
|
||||
const xy_pos_t pos = { parser.linearval('X', current_position.x + probe.offset_xy.x),
|
||||
parser.linearval('Y', current_position.y + probe.offset_xy.y) };
|
||||
|
||||
if (!position_is_reachable_by_probe(pos)) return;
|
||||
if (!probe.can_reach(pos)) return;
|
||||
|
||||
// Disable leveling so the planner won't mess with us
|
||||
#if HAS_LEVELING
|
||||
|
||||
Reference in new issue
Block a user