瀏覽代碼

Formatting in babysteps defines

Scott Lahteine 9 年之前
父節點
當前提交
1c13cd604b
共有 1 個文件被更改,包括 12 次插入12 次删除
  1. 12
    12
      Marlin/ultralcd.cpp

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

@@ -99,19 +99,19 @@ static void menu_action_setting_edit_callback_long5(const char* pstr, unsigned l
99 99
 #define ENCODER_FEEDRATE_DEADZONE 10
100 100
 
101 101
 #if !defined(LCD_I2C_VIKI)
102
-#ifndef ENCODER_STEPS_PER_MENU_ITEM
103
-#define ENCODER_STEPS_PER_MENU_ITEM 5
104
-#endif
105
-#ifndef ENCODER_PULSES_PER_STEP
106
-#define ENCODER_PULSES_PER_STEP 1
107
-#endif
102
+  #ifndef ENCODER_STEPS_PER_MENU_ITEM
103
+    #define ENCODER_STEPS_PER_MENU_ITEM 5
104
+  #endif
105
+  #ifndef ENCODER_PULSES_PER_STEP
106
+    #define ENCODER_PULSES_PER_STEP 1
107
+  #endif
108 108
 #else
109
-#ifndef ENCODER_STEPS_PER_MENU_ITEM
110
-#define ENCODER_STEPS_PER_MENU_ITEM 2 // VIKI LCD rotary encoder uses a different number of steps per rotation
111
-#endif
112
-#ifndef ENCODER_PULSES_PER_STEP
113
-#define ENCODER_PULSES_PER_STEP 1
114
-#endif
109
+  #ifndef ENCODER_STEPS_PER_MENU_ITEM
110
+    #define ENCODER_STEPS_PER_MENU_ITEM 2 // VIKI LCD rotary encoder uses a different number of steps per rotation
111
+  #endif
112
+  #ifndef ENCODER_PULSES_PER_STEP
113
+    #define ENCODER_PULSES_PER_STEP 1
114
+  #endif
115 115
 #endif
116 116
 
117 117
 

Loading…
取消
儲存