Skip to content

Commit

Permalink
simpler
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Nov 20, 2021
1 parent 8454c4e commit 3bcee7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/tft/touch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ bool Touch::get_point(int16_t *x, int16_t *y) {
void Touch::wakeUp() {
if (isSleeping()) {
#if HAS_LCD_BRIGHTNESS
ui.set_brightness(ui.brightness);
ui._set_brightness();
#elif PIN_EXISTS(TFT_BACKLIGHT)
WRITE(TFT_BACKLIGHT_PIN, HIGH);
#endif
Expand Down
2 changes: 1 addition & 1 deletion Marlin/src/lcd/touch/touch_buttons.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ uint8_t TouchButtons::read_buttons() {
void TouchButtons::wakeUp() {
if (isSleeping()) {
#if HAS_LCD_BRIGHTNESS
ui.set_brightness(ui.brightness);
ui._set_brightness();
#elif PIN_EXISTS(TFT_BACKLIGHT)
WRITE(TFT_BACKLIGHT_PIN, HIGH);
#endif
Expand Down

0 comments on commit 3bcee7b

Please sign in to comment.