mirror of
https://github.com/meshtastic/firmware.git
synced 2025-12-20 17:52:35 +00:00
Better #define guard for PIN_EINK_EN
This commit is contained in:
@@ -234,7 +234,7 @@ bool Power::setup()
|
||||
void Power::shutdown()
|
||||
{
|
||||
|
||||
#if defined(USE_EINK)
|
||||
#if defined(USE_EINK) && defined(PIN_EINK_EN)
|
||||
digitalWrite(PIN_EINK_EN, LOW); //power off backlight first
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user