Prune all time series
This commit is contained in:
parent
1c30b20d2a
commit
830a066fe4
|
@ -404,6 +404,8 @@ void loop(void)
|
||||||
Serial.println("Display updated.");
|
Serial.println("Display updated.");
|
||||||
|
|
||||||
timeseries_prune(&ts_scd30_humidity, 3600); // keep the last hour
|
timeseries_prune(&ts_scd30_humidity, 3600); // keep the last hour
|
||||||
|
timeseries_prune(&ts_scd30_temperature, 3600); // keep the last hour
|
||||||
|
timeseries_prune(&ts_scd30_co2, 3600); // keep the last hour
|
||||||
}
|
}
|
||||||
|
|
||||||
delay(1000);
|
delay(1000);
|
||||||
|
|
Loading…
Reference in a new issue