✨ X Twist Compensation & Calibration (#23238)
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
#include "../../module/probe.h"
|
||||
#endif
|
||||
|
||||
#if EITHER(ENABLE_LEVELING_FADE_HEIGHT, AUTO_BED_LEVELING_UBL)
|
||||
#if HAS_LEVELING
|
||||
#include "../../feature/bedlevel/bedlevel.h"
|
||||
#endif
|
||||
|
||||
@@ -46,6 +46,13 @@
|
||||
///////////// Global Variables /////////////
|
||||
////////////////////////////////////////////
|
||||
|
||||
#if HAS_LEVELING && ANY(LEVEL_BED_CORNERS, PROBE_OFFSET_WIZARD, X_AXIS_TWIST_COMPENSATION)
|
||||
bool leveling_was_active; // = false
|
||||
#endif
|
||||
#if ANY(PROBE_MANUALLY, MESH_BED_LEVELING, X_AXIS_TWIST_COMPENSATION)
|
||||
uint8_t manual_probe_index; // = 0
|
||||
#endif
|
||||
|
||||
// Menu Navigation
|
||||
int8_t encoderTopLine, encoderLine, screen_items;
|
||||
|
||||
@@ -338,8 +345,7 @@ void _lcd_draw_homing() {
|
||||
}
|
||||
}
|
||||
|
||||
#if ENABLED(LCD_BED_LEVELING) || (HAS_LEVELING && DISABLED(SLIM_LCD_MENUS))
|
||||
#include "../../feature/bedlevel/bedlevel.h"
|
||||
#if HAS_LEVELING && DISABLED(SLIM_LCD_MENUS)
|
||||
void _lcd_toggle_bed_leveling() { set_bed_leveling_enabled(!planner.leveling_active); }
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user