Browse Source

Fix probe without leveling

pull/1/head
Scott Lahteine 5 years ago
parent
commit
39578a5919
  1. 7
      Marlin/src/module/probe.h

7
Marlin/src/module/probe.h

@ -50,6 +50,8 @@
extern const char msg_wait_for_bed_heating[25]; extern const char msg_wait_for_bed_heating[25];
#endif #endif
#if HAS_LEVELING
inline float probe_min_x() { inline float probe_min_x() {
return _MAX( return _MAX(
#if ENABLED(DELTA) || IS_SCARA #if ENABLED(DELTA) || IS_SCARA
@ -59,6 +61,7 @@
#endif #endif
); );
} }
inline float probe_max_x() { inline float probe_max_x() {
return _MIN( return _MIN(
#if ENABLED(DELTA) || IS_SCARA #if ENABLED(DELTA) || IS_SCARA
@ -68,6 +71,7 @@
#endif #endif
); );
} }
inline float probe_min_y() { inline float probe_min_y() {
return _MAX( return _MAX(
#if ENABLED(DELTA) || IS_SCARA #if ENABLED(DELTA) || IS_SCARA
@ -77,6 +81,7 @@
#endif #endif
); );
} }
inline float probe_max_y() { inline float probe_max_y() {
return _MIN( return _MIN(
#if ENABLED(DELTA) || IS_SCARA #if ENABLED(DELTA) || IS_SCARA
@ -87,6 +92,8 @@
); );
} }
#endif
#else #else
constexpr float probe_offset[XYZ] = { 0 }; constexpr float probe_offset[XYZ] = { 0 };

Loading…
Cancel
Save