Update Marlin_main.cpp
This commit is contained in:
parent
28c1486df2
commit
978ace7fd7
1 changed files with 1 additions and 1 deletions
|
@ -2876,7 +2876,7 @@ bool gcode_M45(bool onlyZ, int8_t verbosity_level)
|
|||
#endif //TMC2130
|
||||
enable_endstops(endstops_enabled);
|
||||
|
||||
if ((st_get_position_mm(Z_AXIS) <= (MESH_HOME_Z_SEARCH + HOME_Z_SEARCH_THRESHOLD)) ||
|
||||
if ((st_get_position_mm(Z_AXIS) <= (MESH_HOME_Z_SEARCH + HOME_Z_SEARCH_THRESHOLD)) &&
|
||||
(st_get_position_mm(Z_AXIS) >= (MESH_HOME_Z_SEARCH - HOME_Z_SEARCH_THRESHOLD)))
|
||||
{
|
||||
if (onlyZ)
|
||||
|
|
Loading…
Reference in a new issue