Browse Source

Fixed BABYSTEPPING feature

Moved PSTR() macro to correct place which was causing the " initializer fails to determine size of '__c' " when attempting to compile with BABYSTEPPING enabled.
NarimaanV 10 years ago
parent
commit
7667949aca
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      Marlin/ultralcd.cpp

+ 4
- 4
Marlin/ultralcd.cpp View File

@@ -368,12 +368,12 @@ void lcd_set_home_offsets()
368 368
       encoderPosition = 0;
369 369
       lcdDrawUpdate = 1;
370 370
     }
371
-    if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR(msg), "");
371
+    if (lcdDrawUpdate) lcd_implementation_drawedit(msg, "");
372 372
     if (LCD_CLICKED) lcd_goto_menu(lcd_tune_menu);
373 373
   }
374
-  static void lcd_babystep_x() { _lcd_babystep(X_AXIS, MSG_BABYSTEPPING_X); }
375
-  static void lcd_babystep_y() { _lcd_babystep(Y_AXIS, MSG_BABYSTEPPING_Y); }
376
-  static void lcd_babystep_z() { _lcd_babystep(Z_AXIS, MSG_BABYSTEPPING_Z); }
374
+  static void lcd_babystep_x() { _lcd_babystep(X_AXIS, PSTR(MSG_BABYSTEPPING_X)); }
375
+  static void lcd_babystep_y() { _lcd_babystep(Y_AXIS, PSTR(MSG_BABYSTEPPING_Y)); }
376
+  static void lcd_babystep_z() { _lcd_babystep(Z_AXIS, PSTR(MSG_BABYSTEPPING_Z)); }
377 377
 
378 378
 #endif //BABYSTEPPING
379 379
 

Loading…
Cancel
Save