diff --git a/WaterishOS-core2.0/WaterishOS-core2.0.ino b/WaterishOS-core2.0/WaterishOS-core2.0.ino index 8198c42..7e76a05 100644 --- a/WaterishOS-core2.0/WaterishOS-core2.0.ino +++ b/WaterishOS-core2.0/WaterishOS-core2.0.ino @@ -85,7 +85,7 @@ void setup() { writelcd("WiFi Connecting"," Attempt "+String(connectionattempt)); connectionattempt++; delay(500); - if (connectionattempt >= 20) { + if (connectionattempt >= 60) { writelcd(" Cannot Connect"," Going Offline!"); delay(3000); online = false; diff --git a/WaterishOS-core2.0/config.h b/WaterishOS-core2.0/config.h index 4e23a85..95e8e8f 100644 --- a/WaterishOS-core2.0/config.h +++ b/WaterishOS-core2.0/config.h @@ -1,5 +1,5 @@ -const String ssid = ""; -const String password = ""; +const char ssid[] = ""; +const char password[] = ""; const byte InteruptPinA=1; const byte InteruptPinB=3; const byte arduinoInterrupt=1;