Browse Source

Merge pull request #3285 from thinkyhead/rc_fix_drawedit

Fix string issues in ultralcd.cpp
Scott Lahteine 8 years ago
parent
commit
33a9d32800
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      Marlin/ultralcd.cpp

+ 2
- 2
Marlin/ultralcd.cpp View File

536
         babystepsTodo[axis] += distance;
536
         babystepsTodo[axis] += distance;
537
       #endif
537
       #endif
538
     }
538
     }
539
-    if (lcdDrawUpdate) lcd_implementation_drawedit(msg, PSTR(""));
539
+    if (lcdDrawUpdate) lcd_implementation_drawedit(msg, "");
540
     if (LCD_CLICKED) lcd_goto_previous_menu();
540
     if (LCD_CLICKED) lcd_goto_previous_menu();
541
   }
541
   }
542
 
542
 
2477
    * MBL Move to mesh starting point
2477
    * MBL Move to mesh starting point
2478
    */
2478
    */
2479
   static void _lcd_level_bed_homing() {
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
     if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS] && axis_known_position[Z_AXIS]) {
2481
     if (axis_known_position[X_AXIS] && axis_known_position[Y_AXIS] && axis_known_position[Z_AXIS]) {
2482
       current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
2482
       current_position[Z_AXIS] = MESH_HOME_SEARCH_Z;
2483
       plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);
2483
       plan_set_position(current_position[X_AXIS], current_position[Y_AXIS], current_position[Z_AXIS], current_position[E_AXIS]);

Loading…
Cancel
Save