Skip to content

Commit 2004198

Browse files
committed
🔨🩹 Pass Ultipanel with TOUCH_SCREEN
1 parent 59423da commit 2004198

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Marlin/src/inc/SanityCheck.h

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

18901890
/**
1891-
* ULTIPANEL encoder
1891+
* ULTIPANEL expects an encoder
18921892
*/
1893-
#if IS_ULTIPANEL && NONE(HAS_ROTARY_ENCODER, SR_LCD_2W_NL, SR_LCD_3W_NL) && !ANY_PIN(SHIFT_CLK, ADC_KEYPAD)
1893+
#if IS_ULTIPANEL && NONE(HAS_ROTARY_ENCODER, SR_LCD_2W_NL, SR_LCD_3W_NL, TOUCH_SCREEN) && !ANY_PIN(SHIFT_CLK, ADC_KEYPAD)
18941894
#error "ULTIPANEL controllers require some kind of encoder."
18951895
#endif
18961896

0 commit comments

Comments
 (0)