Quellcode durchsuchen

Merge pull request #3285 from thinkyhead/rc_fix_drawedit

Fix string issues in ultralcd.cpp
Scott Lahteine vor 8 Jahren
Ursprung
Commit
33a9d32800
1 geänderte Dateien mit 2 neuen und 2 gelöschten Zeilen
  1. 2
    2
      Marlin/ultralcd.cpp

+ 2
- 2
Marlin/ultralcd.cpp Datei anzeigen

@@ -536,7 +536,7 @@ void lcd_set_home_offsets() {
536 536
         babystepsTodo[axis] += distance;
537 537
       #endif
538 538
     }
539
-    if (lcdDrawUpdate) lcd_implementation_drawedit(msg, PSTR(""));
539
+    if (lcdDrawUpdate) lcd_implementation_drawedit(msg, "");
540 540
     if (LCD_CLICKED) lcd_goto_previous_menu();
541 541
   }
542 542
 
@@ -2477,7 +2477,7 @@ char* ftostr52(const float& x) {
2477 2477
    * MBL Move to mesh starting point
2478 2478
    */
2479 2479
   static void _lcd_level_bed_homing() {
2480
-    if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR("XYZ"), PSTR(MSG_LEVEL_BED_HOMING));
2480
+    if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR("XYZ"), MSG_LEVEL_BED_HOMING);
2481 2481
     if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS] && axis_known_position[Z_AXIS]) {
2482 2482
       current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
2483 2483
       plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);

Laden…
Abbrechen
Speichern