Commit e890f4b 1 parent 3cd1545 commit e890f4b Copy full SHA for e890f4b
File tree 2 files changed +11
-2
lines changed
2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -198,8 +198,13 @@ constexpr uint8_t epps = ENCODER_PULSES_PER_STEP;
198
198
WRITE (LCD_BACKLIGHT_PIN, HIGH);
199
199
#endif
200
200
}
201
+ #elif ENABLED(PROUI_EX)
202
+ void MarlinUI::refresh_backlight_timeout () {
203
+ // do nothing
204
+ }
205
+ #endif
201
206
202
- #elif HAS_DISPLAY_SLEEP
207
+ #if HAS_DISPLAY_SLEEP
203
208
204
209
constexpr uint8_t MarlinUI::sleep_timeout_min, MarlinUI::sleep_timeout_max;
205
210
Original file line number Diff line number Diff line change @@ -278,7 +278,11 @@ class MarlinUI {
278
278
static uint8_t backlight_timeout_minutes;
279
279
static millis_t backlight_off_ms;
280
280
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
282
286
static constexpr uint8_t sleep_timeout_min = 0 ;
283
287
static constexpr uint8_t sleep_timeout_max = 99 ;
284
288
static uint8_t sleep_timeout_minutes;
You can’t perform that action at this time.
0 commit comments