From ed326c4c7072e012b4384520d8bf39149733dd9f Mon Sep 17 00:00:00 2001 From: Jeff Epler Date: Thu, 30 Jun 2022 15:59:04 -0500 Subject: [PATCH] Always release displays during deep sleep Closes #6523 --- main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main.c b/main.c index 3488899946..952a17e8a8 100644 --- a/main.c +++ b/main.c @@ -587,6 +587,9 @@ STATIC bool run_code_py(safe_mode_t safe_mode, bool first_run, bool *simulate_re else if (awoke_from_true_deep_sleep || port_get_raw_ticks(NULL) > CIRCUITPY_WORKFLOW_CONNECTION_SLEEP_DELAY * 1024) { // OK to start sleeping, real or fake. + #if CIRCUITPY_DISPLAYIO + common_hal_displayio_release_displays(); + #endif status_led_deinit(); deinit_rxtx_leds(); board_deinit();