Fixed #541 - Work around to bug in espressif softap event handler

This commit is contained in:
Jm Casler
2020-12-12 22:37:07 -08:00
parent 46781357df
commit 86952c5456
3 changed files with 24 additions and 7 deletions

View File

@@ -178,9 +178,10 @@ void createSSLCert()
NULL); /* Task handle. */
DEBUG_MSG("Waiting for SSL Cert to be generated.\n");
if (isCertReady) {
DEBUG_MSG(".\n");
delayMicroseconds(1000);
while (!isCertReady) {
DEBUG_MSG(".");
delay(1000);
yield();
}
DEBUG_MSG("SSL Cert Ready!\n");
}