feature/http_call_send_json #3
2 changed files with 6 additions and 1 deletions
|
@ -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