🎨 Adjust some conditionals
This commit is contained in:
@ -42,7 +42,7 @@
|
||||
// Global storage
|
||||
float z_offset_backup, calculated_z_offset, z_offset_ref;
|
||||
|
||||
#if ENABLED(HAS_LEVELING)
|
||||
#if HAS_LEVELING
|
||||
bool leveling_was_active;
|
||||
#endif
|
||||
|
||||
|
@ -92,7 +92,7 @@ void goto_tramming_wizard() {
|
||||
|
||||
// Inject G28, wait for homing to complete,
|
||||
set_all_unhomed();
|
||||
queue.inject_P(TERN(G28_L0_ENSURES_LEVELING_OFF, PSTR("G28L0"), G28_STR));
|
||||
queue.inject_P(TERN(CAN_SET_LEVELING_AFTER_G28, PSTR("G28L0"), G28_STR));
|
||||
|
||||
ui.goto_screen([]{
|
||||
_lcd_draw_homing();
|
||||
|
Reference in New Issue
Block a user