🔨🩹 Drop old ULTIPANEL sanity check

This commit is contained in:
Scott Lahteine 2025-04-01 02:38:40 -05:00
parent a80e790cf6
commit 26551c17c2

View file

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