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

@@ -31,7 +31,7 @@ void Lcd::print(const char c[]) {
display_cleared_ = false;
}
void Lcd::print(double d, int digits) {
void Lcd::print(float d, int digits) {
display_->print(d, digits);
display_cleared_ = false;
}
@@ -151,9 +151,9 @@ int Lcd::renderDriverPrimary() {
GpsData gps_data;
gpsGlobalRead(gps_data);
double vbat;
float vbat;
vbatGlobalRead(vbat);
double teng;
float teng;
tengGlobalRead(teng);
display_->setCursor(0,0);

View File

@@ -53,7 +53,7 @@ private:
void print(const String &msg);
void print(char c);
void print(const char c[]);
void print(double d, int digits = 2);
void print(float d, int digits = 2);
void print(unsigned long l, int base = 10);
void print(long l, int base = 10);
void print(unsigned int i, int base = 10);