LilyGo T-Beam: added battery voltage reporting

Šī revīzija ir iekļauta:
recrof
2025-04-09 14:08:13 +02:00
vecāks 511a935bbf
revīzija a3c8597747
+2 -2
Parādīt failu
@@ -37,7 +37,7 @@ public:
power.setALDO2Voltage(3300);
power.enableALDO2();
pinMode(38,INPUT_PULLUP);
pinMode(38, INPUT_PULLUP);
esp_reset_reason_t reason = esp_reset_reason();
if (reason == ESP_RST_DEEPSLEEP) {
@@ -75,7 +75,7 @@ public:
}
uint16_t getBattMilliVolts() override {
return 0;
return power.getBattVoltage();
}
const char* getManufacturerName() const override {