Compare commits
2 commits
40b2550c89
...
7a97677e0d
Author | SHA1 | Date | |
---|---|---|---|
|
7a97677e0d | ||
|
9abd468fbc |
3 changed files with 7 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
// config general setting and behavior of the weatherstation
|
||||
|
||||
#define WIFI_AUTOCONNECT_TIMEOUT_S 60
|
||||
#define WIFI_CONFIG_PORTAL_TIMEOUT_S 300
|
||||
#define WIFI_CONFIG_PORTAL_TIMEOUT_S 120
|
||||
#define UPDATE_SENSOR_INTERVAL_S 300
|
||||
#define UPDATE_WEBSERVER_INTVERVAL_S 1 // Do not change, bigger values will prevent using webupdater webinterface
|
||||
#define DELAY_LOOP_MS 100
|
||||
|
|
|
@ -567,7 +567,7 @@ void _fsm_loop()
|
|||
}
|
||||
|
||||
#ifdef WEBUPDATER_FEATURE
|
||||
setSensorData(currentSensorData);
|
||||
sentWindspeed(currentSensorData[SENSOR_WINDSPEED]);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
|
|
@ -79,6 +79,11 @@ void doWebUpdater(void)
|
|||
|
||||
//*************************************************************************//
|
||||
|
||||
void sentWindspeed(float ws)
|
||||
{
|
||||
_webUpdater_sensValues[SENSOR_WINDSPEED] = ws;
|
||||
}
|
||||
|
||||
void setWifiReconnectCnt(uint32_t wrc)
|
||||
{
|
||||
_wifi_reconnect_cnt = wrc;
|
||||
|
|
Loading…
Reference in a new issue