fixing examples and actions

This commit is contained in:
tablatronix
2021-09-17 09:37:07 -05:00
parent 5928293c89
commit 2001438d6f
4 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ jobs:
run: |
pio lib -g install \
https://github.com/tzapu/WiFiManager \
https://github.com/bblanchon/ArduinoJson#v5.13.5 \
https://github.com/bblanchon/ArduinoJson \
https://github.com/knolleary/pubsubclient
- name: Run PlatformIO Examples
+1 -1
View File
@@ -8,7 +8,7 @@
// wifimanager can run in a blocking mode or a non blocking mode
// Be sure to know how to process loops with no delay() if using non blocking
bool wm_nonblocking = false;
bool wm_nonblocking = false; // change to true to use non blocking
WiFiManager wm; // global wm instance
WiFiManagerParameter custom_field; // global param ( for non blocking w params )
@@ -114,7 +114,7 @@ void setup() {
Serial.println("failed to connect and hit timeout");
delay(3000);
//reset and try again, or maybe put it to deep sleep
ESP.reset();
ESP.restart();
delay(5000);
}
@@ -138,7 +138,7 @@ void setup() {
Serial.println("failed to connect and hit timeout");
delay(3000);
//reset and try again, or maybe put it to deep sleep
ESP.reset();
ESP.restart();
delay(5000);
}