From 154b7d256c3f84f5df24568e47918932df105d4f Mon Sep 17 00:00:00 2001 From: Tim O'Brien Date: Thu, 27 Oct 2022 11:03:27 -0700 Subject: [PATCH] Powers off eink backlights before shutdown - t-echo boards in particular need this - follows the existing defines structure --- src/Power.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Power.cpp b/src/Power.cpp index d3782a2a4..744b6360a 100644 --- a/src/Power.cpp +++ b/src/Power.cpp @@ -234,6 +234,9 @@ bool Power::setup() void Power::shutdown() { +#if defined(USE_EINK) + digitalWrite(PIN_EINK_EN, LOW); //power off backlight first +#endif #ifdef HAS_PMU DEBUG_MSG("Shutting down\n");