Big wheaterstation update #2
1 changed files with 3 additions and 0 deletions
|
@ -252,6 +252,7 @@ float readSensors(uint8_t s) {
|
||||||
|
|
||||||
void wifiConnectionCheck() {
|
void wifiConnectionCheck() {
|
||||||
|
|
||||||
|
/*
|
||||||
if ((wifi_check_interval_counter + WIFI_CHECK_INTERVAL_MS) > millis()) {
|
if ((wifi_check_interval_counter + WIFI_CHECK_INTERVAL_MS) > millis()) {
|
||||||
// if check interval is not exceeded abort check
|
// if check interval is not exceeded abort check
|
||||||
return;
|
return;
|
||||||
|
@ -285,6 +286,7 @@ void wifiConnectionCheck() {
|
||||||
|
|
||||||
//initWifiBasedSW();
|
//initWifiBasedSW();
|
||||||
}
|
}
|
||||||
|
*/
|
||||||
}
|
}
|
||||||
|
|
||||||
//*************************************************************************//
|
//*************************************************************************//
|
||||||
|
@ -325,6 +327,7 @@ void wifiConnect() {
|
||||||
}
|
}
|
||||||
|
|
||||||
WiFi.begin(WIFI_SSID, WIFI_PASSWD);
|
WiFi.begin(WIFI_SSID, WIFI_PASSWD);
|
||||||
|
WiFi.setAutoReconnect(true);
|
||||||
|
|
||||||
debug("Connecting to WLAN");
|
debug("Connecting to WLAN");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue