feature/http_call_send_json #3
1 changed files with 1 additions and 1 deletions
|
@ -416,7 +416,7 @@ void _fsm_loop()
|
||||||
/* -------------------------------------------------------------------------------- */
|
/* -------------------------------------------------------------------------------- */
|
||||||
case FSM_STATE_5:
|
case FSM_STATE_5:
|
||||||
//debug("read sensor data check");
|
//debug("read sensor data check");
|
||||||
if ((update_sensor_cnt + (UPDATE_SENSOR_INTERVAL_S * 1000)) <= millis())
|
if ((update_sensor_cnt + (UPDATE_SENSOR_INTERVAL_S * 1000)) <= millis() or validData == false)
|
||||||
{
|
{
|
||||||
debug("read sensor data " + String(sensor_cnt));
|
debug("read sensor data " + String(sensor_cnt));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue