fix: make repeater stats battery display board-aware

This commit is contained in:
Jared Dohrman
2026-04-22 10:57:04 +10:00
parent bbab7c95d4
commit b1a32fa56b
8 changed files with 77 additions and 8 deletions
@@ -66,6 +66,14 @@ uint16_t TBeam1WBoard::getBattMilliVolts() {
return static_cast<uint16_t>((raw * 3300 * ADC_MULTIPLIER) / 4095);
}
uint16_t TBeam1WBoard::getBatteryMinMilliVolts() const {
return 6000;
}
uint16_t TBeam1WBoard::getBatteryMaxMilliVolts() const {
return 8400;
}
const char* TBeam1WBoard::getManufacturerName() const {
return "LilyGo T-Beam 1W";
}