[SSD1306] Give some time for the flash to start (#1571)
Before reading the preferences, the goal is to avoid getting stuck during preferences reading operations
This commit is contained in:
1 parent
22ea25c986
commit
11faf9a948
2 files changed
+2
No files matched your search
@@ -761,6 +761,7 @@ void setup() {
|
||||
SetupIndicators(); // For RGB Leds
|
||||
|
||||
#if defined(ESP8266) || defined(ESP32)
|
||||
delay(100); //give time to start the flash and avoid issue when reading the preferences
|
||||
# ifdef ESP8266
|
||||
# ifndef ZgatewaySRFB // if we are not in sonoff rf bridge case we apply the ESP8266 GPIO optimization
|
||||
Serial.end();
|
||||
|
||||
Reference in new issue
Block a user