Powers off eink backlights before shutdown

- t-echo boards in particular need this
- follows the existing defines structure
This commit is contained in:
Tim O'Brien 2022-10-27 11:03:27 -07:00
parent 548b0d0b53
commit 154b7d256c

View File

@ -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");