Skip to content

Commit 546a014

Browse files
committed
🔨🩹 Pass Ultipanel with HAS_TOUCH_BUTTONS
1 parent 2004198 commit 546a014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/inc/SanityCheck.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1890,7 +1890,7 @@ static_assert(NUM_SERVOS <= NUM_SERVO_PLUGS, "NUM_SERVOS (or some servo index) i
18901890
/**
18911891
* ULTIPANEL expects an encoder
18921892
*/
1893-
#if IS_ULTIPANEL && NONE(HAS_ROTARY_ENCODER, SR_LCD_2W_NL, SR_LCD_3W_NL, TOUCH_SCREEN) && !ANY_PIN(SHIFT_CLK, ADC_KEYPAD)
1893+
#if IS_ULTIPANEL && NONE(HAS_ROTARY_ENCODER, SR_LCD_2W_NL, SR_LCD_3W_NL, TOUCH_SCREEN, HAS_TOUCH_BUTTONS) && !ANY_PIN(SHIFT_CLK, ADC_KEYPAD)
18941894
#error "ULTIPANEL controllers require some kind of encoder."
18951895
#endif
18961896

0 commit comments

Comments
 (0)