Skip to content

Commit

Permalink
only wake up if lcd can sleep
Browse files Browse the repository at this point in the history
  • Loading branch information
dbuezas committed Jun 30, 2024
1 parent 1421273 commit c7d42f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Marlin/src/lcd/marlinui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1828,7 +1828,7 @@ void MarlinUI::host_notify(const char * const cstr) {
#endif

void MarlinUI::media_changed(const uint8_t old_status, const uint8_t status) {
#if HAS_WIRED_LCD
#if HAS_DISPLAY_SLEEP
refresh_screen_timeout();
#endif
if (old_status == status) {
Expand Down

0 comments on commit c7d42f5

Please sign in to comment.