|
|
@ -88,11 +88,15 @@ static void menu_action_setting_edit_callback_long5(const char* pstr, unsigned l
|
|
|
|
|
|
|
|
|
|
|
|
#if !defined(LCD_I2C_VIKI)
|
|
|
|
#if !defined(LCD_I2C_VIKI)
|
|
|
|
#define ENCODER_STEPS_PER_MENU_ITEM 5
|
|
|
|
#define ENCODER_STEPS_PER_MENU_ITEM 5
|
|
|
|
|
|
|
|
#ifndef ENCODER_PULSES_PER_STEP
|
|
|
|
#define ENCODER_PULSES_PER_STEP 1
|
|
|
|
#define ENCODER_PULSES_PER_STEP 1
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
#define ENCODER_STEPS_PER_MENU_ITEM 2 // VIKI LCD rotary encoder uses a different number of steps per rotation
|
|
|
|
#define ENCODER_STEPS_PER_MENU_ITEM 2 // VIKI LCD rotary encoder uses a different number of steps per rotation
|
|
|
|
|
|
|
|
#ifndef ENCODER_PULSES_PER_STEP
|
|
|
|
#define ENCODER_PULSES_PER_STEP 1
|
|
|
|
#define ENCODER_PULSES_PER_STEP 1
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/* Helper macros for menus */
|
|
|
|
/* Helper macros for menus */
|
|
|
|