HTTP_CALL_ON_WINDSPEED_EXCEED execution bug fix
This commit is contained in:
parent
174eaa985e
commit
d8dbc00280
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ void _loop() {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HTTP_CALL_ON_WINDSPEED_EXCEED
|
#ifdef HTTP_CALL_ON_WINDSPEED_EXCEED
|
||||||
if (HTTP_CALL_ON_WINDSPEED_INTERVAL_S * 1000 / DELAY_LOOP_MS > update_windspeed_exceed_cnt)
|
if (HTTP_CALL_ON_WINDSPEED_INTERVAL_S * 1000 / DELAY_LOOP_MS <= update_windspeed_exceed_cnt)
|
||||||
{
|
{
|
||||||
if (sensors[SENSOR_WINDSPEED])
|
if (sensors[SENSOR_WINDSPEED])
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue