Formatting in babysteps defines
This commit is contained in:
parent
3a26804d80
commit
1c13cd604b
|
@ -99,19 +99,19 @@ static void menu_action_setting_edit_callback_long5(const char* pstr, unsigned l
|
||||||
#define ENCODER_FEEDRATE_DEADZONE 10
|
#define ENCODER_FEEDRATE_DEADZONE 10
|
||||||
|
|
||||||
#if !defined(LCD_I2C_VIKI)
|
#if !defined(LCD_I2C_VIKI)
|
||||||
#ifndef ENCODER_STEPS_PER_MENU_ITEM
|
#ifndef ENCODER_STEPS_PER_MENU_ITEM
|
||||||
#define ENCODER_STEPS_PER_MENU_ITEM 5
|
#define ENCODER_STEPS_PER_MENU_ITEM 5
|
||||||
#endif
|
#endif
|
||||||
#ifndef ENCODER_PULSES_PER_STEP
|
#ifndef ENCODER_PULSES_PER_STEP
|
||||||
#define ENCODER_PULSES_PER_STEP 1
|
#define ENCODER_PULSES_PER_STEP 1
|
||||||
#endif
|
#endif
|
||||||
#else
|
#else
|
||||||
#ifndef ENCODER_STEPS_PER_MENU_ITEM
|
#ifndef ENCODER_STEPS_PER_MENU_ITEM
|
||||||
#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
|
||||||
#endif
|
#endif
|
||||||
#ifndef ENCODER_PULSES_PER_STEP
|
#ifndef ENCODER_PULSES_PER_STEP
|
||||||
#define ENCODER_PULSES_PER_STEP 1
|
#define ENCODER_PULSES_PER_STEP 1
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue