Fix build errors and add a bit of failsafe

pull/1408/head
Thomas Göttgens 2022-04-27 15:30:27 +02:00 zatwierdzone przez GitHub
rodzic 13fa7c1628
commit 629db8c718
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 4 usunięć

Wyświetl plik

@ -152,12 +152,11 @@ void setup()
DEBUG_MSG("\n\n//\\ E S H T /\\ S T / C\n\n");
initDeepSleep();
#if defined(TTGO_T_ECHO)
DEBUG_MSG("\n\nTTGO_T_ECHO PIN_EINK_PWR_ON\n\n");
// Testing this fix für erratic T-Echo boot behaviour
#if defined(TTGO_T_ECHO) && defined(PIN_EINK_PWR_ON)
pinMode(PIN_EINK_PWR_ON, OUTPUT);
digitalWrite(PIN_EINK_PWR_ON, HIGH);
#elif
#endif
#ifdef VEXT_ENABLE