Skip to content

Commit e890f4b

Browse files
mriscocApie56
authored andcommitted
1 parent 3cd1545 commit e890f4b

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

Marlin/src/lcd/marlinui.cpp

+6-1
Original file line numberDiff line numberDiff line change
@@ -198,8 +198,13 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
198198
WRITE(LCD_BACKLIGHT_PIN, HIGH);
199199
#endif
200200
}
201+
#elif ENABLED(PROUI_EX)
202+
void MarlinUI::refresh_backlight_timeout() {
203+
// do nothing
204+
}
205+
#endif
201206

202-
#elif HAS_DISPLAY_SLEEP
207+
#if HAS_DISPLAY_SLEEP
203208

204209
constexpr uint8_t MarlinUI::sleep_timeout_min, MarlinUI::sleep_timeout_max;
205210

Marlin/src/lcd/marlinui.h

+5-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,11 @@ class MarlinUI {
278278
static uint8_t backlight_timeout_minutes;
279279
static millis_t backlight_off_ms;
280280
static void refresh_backlight_timeout();
281-
#elif HAS_DISPLAY_SLEEP
281+
#elif ENABLED(PROUI_EX)
282+
static void refresh_backlight_timeout();
283+
#endif
284+
285+
#if HAS_DISPLAY_SLEEP
282286
static constexpr uint8_t sleep_timeout_min = 0;
283287
static constexpr uint8_t sleep_timeout_max = 99;
284288
static uint8_t sleep_timeout_minutes;

0 commit comments

Comments
 (0)