|
@@ -516,7 +516,7 @@ void lcd_set_home_offsets() {
|
516
|
516
|
babystepsTodo[axis] += distance;
|
517
|
517
|
#endif
|
518
|
518
|
}
|
519
|
|
- if (lcdDrawUpdate) lcd_implementation_drawedit(msg, (char*)"");
|
|
519
|
+ if (lcdDrawUpdate) lcd_implementation_drawedit(msg, PSTR(""));
|
520
|
520
|
if (LCD_CLICKED) lcd_goto_previous_menu();
|
521
|
521
|
}
|
522
|
522
|
|
|
@@ -1715,7 +1715,7 @@ void lcd_init() {
|
1715
|
1715
|
#endif
|
1716
|
1716
|
}
|
1717
|
1717
|
|
1718
|
|
-int lcd_strlen(char* s) {
|
|
1718
|
+int lcd_strlen(const char* s) {
|
1719
|
1719
|
int i = 0, j = 0;
|
1720
|
1720
|
while (s[i]) {
|
1721
|
1721
|
if ((s[i] & 0xc0) != 0x80) j++;
|
|
@@ -2397,7 +2397,7 @@ char* ftostr52(const float& x) {
|
2397
|
2397
|
* MBL Move to mesh starting point
|
2398
|
2398
|
*/
|
2399
|
2399
|
static void _lcd_level_bed_homing() {
|
2400
|
|
- if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR("XYZ"), (char*)"Homing");
|
|
2400
|
+ if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR("XYZ"), PSTR("Homing"));
|
2401
|
2401
|
if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS] && axis_known_position[Z_AXIS]) {
|
2402
|
2402
|
current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
|
2403
|
2403
|
plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
|