avoid corruptet first readout

This commit is contained in:
2026-09-20 18:24:09 +02:00
parent 7712870d1f
commit 29a65a6f9d
+2
View File
@@ -18,6 +18,8 @@ static const char *TAG = "thermo_sensor";
bmp280_t dev_bmp_280;
void main_loop(void *pvParameters) {
// Wait 1s, to avoid corrupted first sensor readout
vTaskDelay(pdMS_TO_TICKS(1000));
while (1) {
ygg_bmp280_read_sensor(&dev_bmp_280);
ygg_send_sensor_readouts(SENSOR_NAME,