Big wheaterstation update #2
1 changed files with 1 additions and 1 deletions
|
@ -461,7 +461,7 @@ void _fsm_loop()
|
||||||
//debug("wind speed exceeded check if required");
|
//debug("wind speed exceeded check if required");
|
||||||
#ifdef HTTP_CALL_ON_WINDSPEED_EXCEED
|
#ifdef HTTP_CALL_ON_WINDSPEED_EXCEED
|
||||||
if ((update_windspeed_exceed_cnt + (HTTP_CALL_ON_WINDSPEED_INTERVAL_S * 1000)) <= millis()) {
|
if ((update_windspeed_exceed_cnt + (HTTP_CALL_ON_WINDSPEED_INTERVAL_S * 1000)) <= millis()) {
|
||||||
debug("reading wind sensor exceed");
|
debug("wind sensor value outdated");
|
||||||
|
|
||||||
// reset the wait timer to get a value every HTTP_CALL_ON_WINDSPEED_INTERVAL_S independently to the runtime of the measurement
|
// reset the wait timer to get a value every HTTP_CALL_ON_WINDSPEED_INTERVAL_S independently to the runtime of the measurement
|
||||||
update_windspeed_exceed_cnt = millis();
|
update_windspeed_exceed_cnt = millis();
|
||||||
|
|
Loading…
Reference in a new issue