Compare commits

..

No commits in common. "7a97677e0d68ac93c6740569ed8361c0c1ad346e" and "40b2550c899df8354dc9047ddeb2cfdce473982c" have entirely different histories.

3 changed files with 2 additions and 7 deletions

View file

@ -4,7 +4,7 @@
// config general setting and behavior of the weatherstation // config general setting and behavior of the weatherstation
#define WIFI_AUTOCONNECT_TIMEOUT_S 60 #define WIFI_AUTOCONNECT_TIMEOUT_S 60
#define WIFI_CONFIG_PORTAL_TIMEOUT_S 120 #define WIFI_CONFIG_PORTAL_TIMEOUT_S 300
#define UPDATE_SENSOR_INTERVAL_S 300 #define UPDATE_SENSOR_INTERVAL_S 300
#define UPDATE_WEBSERVER_INTVERVAL_S 1 // Do not change, bigger values will prevent using webupdater webinterface #define UPDATE_WEBSERVER_INTVERVAL_S 1 // Do not change, bigger values will prevent using webupdater webinterface
#define DELAY_LOOP_MS 100 #define DELAY_LOOP_MS 100

View file

@ -567,7 +567,7 @@ void _fsm_loop()
} }
#ifdef WEBUPDATER_FEATURE #ifdef WEBUPDATER_FEATURE
sentWindspeed(currentSensorData[SENSOR_WINDSPEED]); setSensorData(currentSensorData);
#endif #endif
#endif #endif

View file

@ -79,11 +79,6 @@ void doWebUpdater(void)
//*************************************************************************// //*************************************************************************//
void sentWindspeed(float ws)
{
_webUpdater_sensValues[SENSOR_WINDSPEED] = ws;
}
void setWifiReconnectCnt(uint32_t wrc) void setWifiReconnectCnt(uint32_t wrc)
{ {
_wifi_reconnect_cnt = wrc; _wifi_reconnect_cnt = wrc;