Skip to content

Commit c7d42f5

Browse files
committed
only wake up if lcd can sleep
1 parent 1421273 commit c7d42f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Marlin/src/lcd/marlinui.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -1828,7 +1828,7 @@ void MarlinUI::host_notify(const char * const cstr) {
18281828
#endif
18291829

18301830
void MarlinUI::media_changed(const uint8_t old_status, const uint8_t status) {
1831-
#if HAS_WIRED_LCD
1831+
#if HAS_DISPLAY_SLEEP
18321832
refresh_screen_timeout();
18331833
#endif
18341834
if (old_status == status) {

0 commit comments

Comments
 (0)