mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-28 10:42:08 +00:00
Powers off eink backlights before shutdown
- t-echo boards in particular need this - follows the existing defines structure
This commit is contained in:
parent
548b0d0b53
commit
154b7d256c
@ -234,6 +234,9 @@ bool Power::setup()
|
|||||||
void Power::shutdown()
|
void Power::shutdown()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
#if defined(USE_EINK)
|
||||||
|
digitalWrite(PIN_EINK_EN, LOW); //power off backlight first
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef HAS_PMU
|
#ifdef HAS_PMU
|
||||||
DEBUG_MSG("Shutting down\n");
|
DEBUG_MSG("Shutting down\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user