fix: add battery reporting toggle for Heltec V3 and clean up VS Code metadata

This commit is contained in:
Jared Dohrman
2026-04-11 18:14:30 +10:00
parent 6680e53ef5
commit 4f4964e454
11 changed files with 160 additions and 7 deletions
+3
View File
@@ -44,6 +44,9 @@ namespace mesh {
class MainBoard {
public:
virtual uint16_t getBattMilliVolts() = 0;
virtual bool supportsBatteryReporting() const { return false; }
virtual bool setBatteryReporting(bool enabled) { (void)enabled; return false; }
virtual bool isBatteryReportingEnabled() const { return true; }
virtual float getMCUTemperature() { return NAN; }
virtual bool setAdcMultiplier(float multiplier) { return false; };
virtual float getAdcMultiplier() const { return 0.0f; }