Skip to content

Commit 26551c1

Browse files
committed
🔨🩹 Drop old ULTIPANEL sanity check
1 parent a80e790 commit 26551c1

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Marlin/src/inc/SanityCheck.h

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1888,12 +1888,8 @@ static_assert(NUM_SERVOS <= NUM_SERVO_PLUGS, "NUM_SERVOS (or some servo index) i
18881888
#endif
18891889

18901890
/**
1891-
* ULTIPANEL expects an encoder
1891+
* Encoder pulses must be positive
18921892
*/
1893-
#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)
1894-
#error "ULTIPANEL controllers require some kind of encoder."
1895-
#endif
1896-
18971893
#if ENCODER_PULSES_PER_STEP < 0
18981894
#error "ENCODER_PULSES_PER_STEP should not be negative, use REVERSE_MENU_DIRECTION instead."
18991895
#endif

0 commit comments

Comments
 (0)