Fix consistent yield usage & LED updates

This commit is contained in:
Embedded Innovation
2016-11-07 21:28:25 +01:00
parent fedf326099
commit 9254b45150
6 changed files with 38 additions and 25 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ bool reconnectMQTT() {
bool gatewayTransportConnect() {
#if defined(MY_GATEWAY_ESP8266)
while (WiFi.status() != WL_CONNECTED) {
delay(500); // delay calls yield
wait(500);
MY_SERIALDEVICE.print(".");
}
MY_SERIALDEVICE.print("IP: ");