Initial telemetry implementation

This commit is contained in:
2026-03-30 22:44:14 +02:00
parent da6b23d78e
commit efd7119b32
16 changed files with 158 additions and 69 deletions

View File

@@ -14,9 +14,9 @@ class Battery : public ModuleBase {
private:
SystemLogger *logger_;
RingBuffer<Task, 16> queue_;
double vbat_ = 0;
double calibration_ = 0;
double low_threshold_ = 0;
float vbat_ = 0;
float calibration_ = 0;
float low_threshold_ = 0;
unsigned long warning_sent_at_ = 0;
unsigned long warning_timeout_ = 10000;
unsigned long update_interval_ = 1000;