瀏覽代碼

Merge pull request #1233 from NarimaanV/Development

Fixed BABYSTEPPING feature
Bo Herrmannsen 10 年之前
父節點
當前提交
c9f60183a9
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      Marlin/ultralcd.cpp

+ 4
- 4
Marlin/ultralcd.cpp 查看文件

@@ -396,12 +396,12 @@ void lcd_set_home_offsets()
396 396
       encoderPosition = 0;
397 397
       lcdDrawUpdate = 1;
398 398
     }
399
-    if (lcdDrawUpdate) lcd_implementation_drawedit(PSTR(msg), "");
399
+    if (lcdDrawUpdate) lcd_implementation_drawedit(msg, "");
400 400
     if (LCD_CLICKED) lcd_goto_menu(lcd_tune_menu);
401 401
   }
402
-  static void lcd_babystep_x() { _lcd_babystep(X_AXIS, MSG_BABYSTEPPING_X); }
403
-  static void lcd_babystep_y() { _lcd_babystep(Y_AXIS, MSG_BABYSTEPPING_Y); }
404
-  static void lcd_babystep_z() { _lcd_babystep(Z_AXIS, MSG_BABYSTEPPING_Z); }
402
+  static void lcd_babystep_x() { _lcd_babystep(X_AXIS, PSTR(MSG_BABYSTEPPING_X)); }
403
+  static void lcd_babystep_y() { _lcd_babystep(Y_AXIS, PSTR(MSG_BABYSTEPPING_Y)); }
404
+  static void lcd_babystep_z() { _lcd_babystep(Z_AXIS, PSTR(MSG_BABYSTEPPING_Z)); }
405 405
 
406 406
 #endif //BABYSTEPPING
407 407
 

Loading…
取消
儲存