|
@@ -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
|
|