Fix MIN/MAX function collision with macros
This commit is contained in:
1 parent
b6546ea33a
commit
750a16ad38
63 files changed
+167
-167
No files matched your search
@@ -172,11 +172,11 @@
|
||||
break;
|
||||
|
||||
case 2: // Raise by Z-park height
|
||||
do_blocking_move_to_z(MIN(current_position[Z_AXIS] + park.z, Z_MAX_POS), fr_z);
|
||||
do_blocking_move_to_z(_MIN(current_position[Z_AXIS] + park.z, Z_MAX_POS), fr_z);
|
||||
break;
|
||||
|
||||
default: // Raise to at least the Z-park height
|
||||
do_blocking_move_to_z(MAX(park.z, current_position[Z_AXIS]), fr_z);
|
||||
do_blocking_move_to_z(_MAX(park.z, current_position[Z_AXIS]), fr_z);
|
||||
}
|
||||
|
||||
do_blocking_move_to_xy(park.x, park.y, fr_xy);
|
||||
|
||||
Reference in new issue
Block a user