|
@@ -88,10 +88,14 @@ static void menu_action_setting_edit_callback_long5(const char* pstr, unsigned l
|
88
|
88
|
|
89
|
89
|
#if !defined(LCD_I2C_VIKI)
|
90
|
90
|
#define ENCODER_STEPS_PER_MENU_ITEM 5
|
91
|
|
- #define ENCODER_PULSES_PER_STEP 1
|
|
91
|
+ #ifndef ENCODER_PULSES_PER_STEP
|
|
92
|
+ #define ENCODER_PULSES_PER_STEP 1
|
|
93
|
+ #endif
|
92
|
94
|
#else
|
93
|
95
|
#define ENCODER_STEPS_PER_MENU_ITEM 2 // VIKI LCD rotary encoder uses a different number of steps per rotation
|
94
|
|
- #define ENCODER_PULSES_PER_STEP 1
|
|
96
|
+ #ifndef ENCODER_PULSES_PER_STEP
|
|
97
|
+ #define ENCODER_PULSES_PER_STEP 1
|
|
98
|
+ #endif
|
95
|
99
|
#endif
|
96
|
100
|
|
97
|
101
|
|