2026-03-18 21:43:28 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
2026-03-30 22:09:23 +01:00
|
|
|
#include "freertos/idf_additions.h"
|
2026-03-18 21:43:28 +00:00
|
|
|
namespace env_sens {
|
|
|
|
|
|
|
|
|
|
void setup();
|
|
|
|
|
|
|
|
|
|
float get_temperature();
|
|
|
|
|
|
|
|
|
|
float get_pressure();
|
|
|
|
|
|
|
|
|
|
void dbg_sens();
|
|
|
|
|
|
2026-03-19 18:19:31 +00:00
|
|
|
float get_altitude();
|
2026-03-30 22:09:23 +01:00
|
|
|
void baro_poll_task(void *_);
|
2026-03-19 18:19:31 +00:00
|
|
|
|
2026-03-18 21:43:28 +00:00
|
|
|
} // namespace env_sens
|
2026-03-30 22:09:23 +01:00
|
|
|
|
|
|
|
|
inline SemaphoreHandle_t baro_mutex = NULL;
|