|
@@ -1797,7 +1797,7 @@ char *ftostr52(const float &x) {
|
1797
|
1797
|
if (max_software_endstops && current_position[Z_AXIS] > Z_MAX_POS) current_position[Z_AXIS] = Z_MAX_POS;
|
1798
|
1798
|
encoderPosition = 0;
|
1799
|
1799
|
line_to_current();
|
1800
|
|
- lcdDrawUpdate = 1;
|
|
1800
|
+ lcdDrawUpdate = 2;
|
1801
|
1801
|
}
|
1802
|
1802
|
if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR("Z"), ftostr43(current_position[Z_AXIS]));
|
1803
|
1803
|
static bool debounce_click = false;
|
|
@@ -1828,7 +1828,7 @@ char *ftostr52(const float &x) {
|
1828
|
1828
|
current_position[X_AXIS] = mbl.get_x(ix);
|
1829
|
1829
|
current_position[Y_AXIS] = mbl.get_y(iy);
|
1830
|
1830
|
line_to_current();
|
1831
|
|
- lcdDrawUpdate = 1;
|
|
1831
|
+ lcdDrawUpdate = 2;
|
1832
|
1832
|
}
|
1833
|
1833
|
}
|
1834
|
1834
|
} else {
|
|
@@ -1837,6 +1837,7 @@ char *ftostr52(const float &x) {
|
1837
|
1837
|
}
|
1838
|
1838
|
|
1839
|
1839
|
static void _lcd_level_bed_homing() {
|
|
1840
|
+ if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR("XYZ"), "Homing");
|
1840
|
1841
|
if (axis_known_position[X_AXIS] &&
|
1841
|
1842
|
axis_known_position[Y_AXIS] &&
|
1842
|
1843
|
axis_known_position[Z_AXIS]) {
|
|
@@ -1848,6 +1849,7 @@ char *ftostr52(const float &x) {
|
1848
|
1849
|
_lcd_level_bed_position = 0;
|
1849
|
1850
|
lcd_goto_menu(_lcd_level_bed);
|
1850
|
1851
|
}
|
|
1852
|
+ lcdDrawUpdate = 2;
|
1851
|
1853
|
}
|
1852
|
1854
|
|
1853
|
1855
|
static void lcd_level_bed() {
|
|
@@ -1856,6 +1858,7 @@ char *ftostr52(const float &x) {
|
1856
|
1858
|
axis_known_position[Z_AXIS] = false;
|
1857
|
1859
|
mbl.reset();
|
1858
|
1860
|
enquecommands_P(PSTR("G28"));
|
|
1861
|
+ lcdDrawUpdate = 2;
|
1859
|
1862
|
lcd_goto_menu(_lcd_level_bed_homing);
|
1860
|
1863
|
}
|
1861
|
1864
|
|