Encapsulate probe as singleton class (#16751)

This commit is contained in:
Scott Lahteine authored and GitHub committed 2020-02-01 04:21:36 -06:00
1 parent 43d3463d5d
commit 90b6324563
33 files changed
+341 -303

No files matched your search

+2 -2
View File
@@ -133,7 +133,7 @@
destination.set(safe_homing_xy, current_position.z);
#if HOMING_Z_WITH_PROBE
destination -= probe_offset_xy;
destination -= probe.offset_xy;
#endif
if (position_is_reachable(destination)) {
@@ -416,7 +416,7 @@ void GcodeSuite::G28(const bool always_home_all) {
#endif
#if HOMING_Z_WITH_PROBE && defined(Z_AFTER_PROBING)
move_z_after_probing();
probe.move_z_after_probing();
#endif
} // doZ