🚸 TFT backlight PWM / brightness (#22841)
This commit is contained in:
committed by
Scott Lahteine
parent
34c9f64925
commit
064f91e9b0
@@ -122,7 +122,9 @@ uint8_t TouchButtons::read_buttons() {
|
||||
}
|
||||
void TouchButtons::wakeUp() {
|
||||
if (isSleeping()) {
|
||||
#if PIN_EXISTS(TFT_BACKLIGHT)
|
||||
#if HAS_LCD_BRIGHTNESS
|
||||
ui._set_brightness();
|
||||
#elif PIN_EXISTS(TFT_BACKLIGHT)
|
||||
WRITE(TFT_BACKLIGHT_PIN, HIGH);
|
||||
#endif
|
||||
}
|
||||
|
Reference in New Issue
Block a user