mirror of
https://github.com/MarlinFirmware/Marlin.git
synced 2025-12-28 10:20:36 -07:00
🩹 Prevent BED_TRAMMING_Z_HOP too far (#27939)
This commit is contained in:
parent
9a23bcec0b
commit
e7ac0d14cd
1 changed files with 1 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ static void _lcd_goto_next_corner() {
|
|||
}
|
||||
}
|
||||
|
||||
float z = current_position.z + (BED_TRAMMING_Z_HOP);
|
||||
float z = _MIN(current_position.z + (BED_TRAMMING_Z_HOP), Z_MAX_POS);
|
||||
#if ALL(BED_TRAMMING_USE_PROBE, BLTOUCH)
|
||||
z += bltouch.z_extra_clearance();
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue