fix for I2C scan getting stuck (#3375)

* refactor: add delay for T-Echo peripherals setup

* comment out `PIN_POWER_EN1`
This commit is contained in:
Andre K
2024-03-15 19:12:30 -03:00
committed by GitHub
parent 52cfec29fc
commit 0dda20bc35
3 changed files with 4 additions and 4 deletions

View File

@@ -203,7 +203,7 @@ void doDeepSleep(uint32_t msecToWake, bool skipPreflight = false)
#ifdef TTGO_T_ECHO
#ifdef PIN_POWER_EN
pinMode(PIN_POWER_EN, INPUT); // power off peripherals
pinMode(PIN_POWER_EN1, INPUT_PULLDOWN);
// pinMode(PIN_POWER_EN1, INPUT_PULLDOWN);
#endif
#endif