🍻 Fix Z increase on toolchange without UBL (#22942)

This commit is contained in:
Vasily Evseenko
2022-11-27 04:26:40 +03:00
committed by Scott Lahteine
parent c1684a1dbe
commit b2b8407a75
2 changed files with 3 additions and 2 deletions

View File

@ -57,6 +57,7 @@ bool leveling_is_valid() {
* Enable: Current position = "unleveled" physical position
*/
void set_bed_leveling_enabled(const bool enable/*=true*/) {
DEBUG_SECTION(log_sble, "set_bed_leveling_enabled", DEBUGGING(LEVELING));
const bool can_change = TERN1(AUTO_BED_LEVELING_BILINEAR, !enable || leveling_is_valid());