feature/http_call_send_json #3

Merged
f merged 56 commits from feature/http_call_send_json into master 2022-11-27 11:02:22 +01:00
Showing only changes of commit ced1e5f7e3 - Show all commits

View file

@ -334,6 +334,7 @@ void _loop()
// Disable expensive tasks
sensors[SENSOR_WINDSPEED] = 0;
//debug("read of wind sensor because of low battery disabled");
} else {
sensors[SENSOR_WINDSPEED] = &wind_speed;
//debug("read of wind sensor because of high battery enabled");
@ -364,12 +365,16 @@ void _loop()
{
sensor_cnt++;
fsm_state = FSM_STATE_US; // jump to same state again, more sensors to read
} else {
update_sensor_cnt = millis();
sensor_cnt = 0;
fsm_state = FSM_STATE_SC; // next state
}
} else {
debug("skip read sensor data");
fsm_state = FSM_STATE_WU; // no new data, reset FSM
}