Revive and improve DELTA probe bounds, LRFB options (#15372)

This commit is contained in:
InsanityAutomation authored and Scott Lahteine committed 2019-09-28 01:19:11 -05:00
1 parent 1b9fc64d8a
commit a6b0223eea
108 files changed
+3833 -62

No files matched your search

+7
View File
@@ -267,10 +267,17 @@ G29_TYPE GcodeSuite::G29() {
// Probe at 3 arbitrary points
const float x_min = probe_min_x(), x_max = probe_max_x(), y_min = probe_min_y(), y_max = probe_max_y();
ABL_VAR vector_3 points[3] = {
#if ENABLED(HAS_FIXED_3POINT)
vector_3(PROBE_PT_1_X, PROBE_PT_1_Y, 0),
vector_3(PROBE_PT_2_X, PROBE_PT_2_Y, 0),
vector_3(PROBE_PT_3_X, PROBE_PT_3_Y, 0)
#else
vector_3(x_min, y_min, 0),
vector_3(x_max, y_min, 0),
vector_3((x_max - x_min) / 2, y_max, 0)
#endif
};
#endif // AUTO_BED_LEVELING_3POINT