mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2026-01-22 13:16:46 -07:00
Fix MIN/MAX function collision with macros
This commit is contained in:
parent
b6546ea33a
commit
750a16ad38
63 changed files with 167 additions and 167 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue