Remove TTGO_T_ECHO gating for PIN_POWER_EN

Signed-off-by: Andrew Yong <me@ndoo.sg>
This commit is contained in:
Andrew Yong
2024-06-18 21:26:45 +08:00
parent ca560d64ea
commit 3e9e0fdd49
2 changed files with 1 additions and 3 deletions

View File

@@ -242,7 +242,7 @@ void setup()
initDeepSleep();
// power on peripherals
#if defined(TTGO_T_ECHO) && defined(PIN_POWER_EN)
#if defined(PIN_POWER_EN)
pinMode(PIN_POWER_EN, OUTPUT);
digitalWrite(PIN_POWER_EN, HIGH);
// digitalWrite(PIN_POWER_EN1, INPUT);