Changes for ubl_lcd_map_control patch
This commit is contained in:
@ -333,7 +333,6 @@
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL)
|
||||
#include "ubl.h"
|
||||
extern bool defer_return_to_status;
|
||||
extern bool ubl_lcd_map_control;
|
||||
unified_bed_leveling ubl;
|
||||
#define UBL_MESH_VALID !( ( ubl.z_values[0][0] == ubl.z_values[0][1] && ubl.z_values[0][1] == ubl.z_values[0][2] \
|
||||
&& ubl.z_values[1][0] == ubl.z_values[1][1] && ubl.z_values[1][1] == ubl.z_values[1][2] \
|
||||
@ -7742,11 +7741,9 @@ inline void gcode_M18_M84() {
|
||||
#endif
|
||||
}
|
||||
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTRA_LCD) //only needed if have an LCD
|
||||
ubl_lcd_map_control = false;
|
||||
defer_return_to_status = false;
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTRA_LCD) // Only needed with an LCD
|
||||
ubl_lcd_map_control = defer_return_to_status = false;
|
||||
#endif
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -12637,9 +12634,8 @@ void manage_inactivity(bool ignore_stepper_queue/*=false*/) {
|
||||
#if ENABLED(DISABLE_INACTIVE_E)
|
||||
disable_e_steppers();
|
||||
#endif
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTRA_LCD) //only needed if have an LCD
|
||||
ubl_lcd_map_control = false;
|
||||
defer_return_to_status = false;
|
||||
#if ENABLED(AUTO_BED_LEVELING_UBL) && ENABLED(ULTRA_LCD) // Only needed with an LCD
|
||||
ubl_lcd_map_control = defer_return_to_status = false;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user