mirror of
https://github.com/meshtastic/firmware.git
synced 2025-04-25 17:42:48 +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()
|
||||
{
|
||||
|
||||
#if defined(USE_EINK)
|
||||
digitalWrite(PIN_EINK_EN, LOW); //power off backlight first
|
||||
#endif
|
||||
|
||||
#ifdef HAS_PMU
|
||||
DEBUG_MSG("Shutting down\n");
|
||||
|
Loading…
Reference in New Issue
Block a user