Fix MIN/MAX function collision with macros
This commit is contained in:
@ -444,7 +444,7 @@ bool set_probe_deployed(const bool deploy) {
|
||||
#endif
|
||||
|
||||
if (deploy_stow_condition && unknown_condition)
|
||||
do_probe_raise(MAX(Z_CLEARANCE_BETWEEN_PROBES, Z_CLEARANCE_DEPLOY_PROBE));
|
||||
do_probe_raise(_MAX(Z_CLEARANCE_BETWEEN_PROBES, Z_CLEARANCE_DEPLOY_PROBE));
|
||||
|
||||
#if EITHER(Z_PROBE_SLED, Z_PROBE_ALLEN_KEY)
|
||||
#if ENABLED(Z_PROBE_SLED)
|
||||
@ -780,7 +780,7 @@ float probe_pt(const float &rx, const float &ry, const ProbePtRaise raise_after/
|
||||
const float nz =
|
||||
#if ENABLED(DELTA)
|
||||
// Move below clip height or xy move will be aborted by do_blocking_move_to
|
||||
MIN(current_position[Z_AXIS], delta_clip_start_height)
|
||||
_MIN(current_position[Z_AXIS], delta_clip_start_height)
|
||||
#else
|
||||
current_position[Z_AXIS]
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user