mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-30 18:42:15 +02:00
Battery Monitor for T-Beams
This commit is contained in:
@@ -122,7 +122,7 @@ namespace Utils {
|
||||
beaconPacket += Config.beacon.comment;
|
||||
secondaryBeaconPacket += Config.beacon.comment;
|
||||
|
||||
#ifdef BATTERY_PIN
|
||||
#if defined(BATTERY_PIN) || defined(HAS_AXP192) || defined(HAS_AXP2101)
|
||||
if (Config.battery.sendInternalVoltage || Config.battery.monitorInternalVoltage) {
|
||||
float internalVoltage = BATTERY_Utils::checkInternalVoltage();
|
||||
String internalVoltageInfo = String(internalVoltage,2) + "V";
|
||||
|
||||
Reference in New Issue
Block a user