浏览代码

Fixed: warning: extra tokens at end of #endif directive

jbrazio 9 年前
父节点
当前提交
80f221ed11
共有 1 个文件被更改,包括 6 次插入6 次删除
  1. 6
    6
      Marlin/ultralcd.cpp

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

@@ -486,7 +486,7 @@ void lcd_set_home_offsets() {
486 486
 #if ENABLED(BABYSTEPPING)
487 487
 
488 488
   static void _lcd_babystep(const int axis, const char* msg) {
489
-    ENCODER_DIRECTION_NORMAL(); 
489
+    ENCODER_DIRECTION_NORMAL();
490 490
     if (encoderPosition != 0) {
491 491
       encoderPosition = 0;
492 492
       lcdDrawUpdate = 1;
@@ -901,7 +901,7 @@ float move_menu_scale;
901 901
 static void lcd_move_menu_axis();
902 902
 
903 903
 static void _lcd_move(const char* name, AxisEnum axis, int min, int max) {
904
-  ENCODER_DIRECTION_NORMAL(); 
904
+  ENCODER_DIRECTION_NORMAL();
905 905
   if ((encoderPosition != 0) && (movesplanned() <= 3)) {
906 906
     refresh_cmd_timeout();
907 907
     current_position[axis] += float((int)encoderPosition) * move_menu_scale;
@@ -929,7 +929,7 @@ static void lcd_move_e(
929 929
     uint8_t e
930 930
   #endif
931 931
 ) {
932
-  ENCODER_DIRECTION_NORMAL(); 
932
+  ENCODER_DIRECTION_NORMAL();
933 933
   #if EXTRUDERS > 1
934 934
     unsigned short original_active_extruder = active_extruder;
935 935
     active_extruder = e;
@@ -1092,7 +1092,7 @@ static void lcd_control_menu() {
1092 1092
     enqueue_and_echo_command_now(cmd);
1093 1093
   }
1094 1094
 
1095
-#endif PIDTEMP || PIDTEMPBED
1095
+#endif //PIDTEMP || PIDTEMPBED
1096 1096
 
1097 1097
 #if ENABLED(PIDTEMP)
1098 1098
 
@@ -1514,7 +1514,7 @@ static void lcd_control_volumetric_menu() {
1514 1514
  *
1515 1515
  *
1516 1516
  * Also: MENU_MULTIPLIER_ITEM_EDIT, MENU_ITEM_EDIT_CALLBACK, and MENU_MULTIPLIER_ITEM_EDIT_CALLBACK
1517
- *     
1517
+ *
1518 1518
  *       menu_action_setting_edit_int3(PSTR(MSG_SPEED), &feedrate_multiplier, 10, 999)
1519 1519
  */
1520 1520
 #define menu_edit_type(_type, _name, _strFunc, scale) \
@@ -2380,7 +2380,7 @@ char* ftostr52(const float& x) {
2380 2380
    *   - Click saves the Z and goes to the next mesh point
2381 2381
    */
2382 2382
   static void _lcd_level_bed() {
2383
-    ENCODER_DIRECTION_NORMAL(); 
2383
+    ENCODER_DIRECTION_NORMAL();
2384 2384
     if ((encoderPosition != 0) && (movesplanned() <= 3)) {
2385 2385
       refresh_cmd_timeout();
2386 2386
       current_position[Z_AXIS] += float((int)encoderPosition) * (MBL_Z_STEP);

正在加载...
取消
保存