🔨🩹 Drop old ULTIPANEL sanity check
This commit is contained in:
parent
a80e790cf6
commit
26551c17c2
1 changed files with 1 additions and 5 deletions
|
|
@ -1888,12 +1888,8 @@ static_assert(NUM_SERVOS <= NUM_SERVO_PLUGS, "NUM_SERVOS (or some servo index) i
|
|||
#endif
|
||||
|
||||
/**
|
||||
* ULTIPANEL expects an encoder
|
||||
* Encoder pulses must be positive
|
||||
*/
|
||||
#if IS_ULTIPANEL && NONE(HAS_ROTARY_ENCODER, SR_LCD_2W_NL, SR_LCD_3W_NL, TOUCH_SCREEN, HAS_TOUCH_BUTTONS, HAS_SLOW_BUTTONS) && !ANY_PIN(SHIFT_CLK, ADC_KEYPAD)
|
||||
#error "ULTIPANEL controllers require some kind of encoder."
|
||||
#endif
|
||||
|
||||
#if ENCODER_PULSES_PER_STEP < 0
|
||||
#error "ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead."
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue