mirror of
https://github.com/richonguzman/LoRa_APRS_iGate.git
synced 2026-04-04 14:08:36 +00:00
justo antes de fallar
This commit is contained in:
parent
345a6c2c21
commit
fc8d3fd9fb
10 changed files with 57 additions and 38 deletions
|
|
@ -122,7 +122,7 @@ namespace Utils {
|
|||
secondaryBeaconPacket += Config.beacon.comment;
|
||||
|
||||
#ifdef BATTERY_PIN
|
||||
if (Config.sendBatteryVoltage) {
|
||||
if (Config.battery.sendBatteryVoltage) {
|
||||
String batteryInfo = "Batt=" + String(BATTERY_Utils::checkBattery(),2) + "V";
|
||||
beaconPacket += " " + batteryInfo;
|
||||
secondaryBeaconPacket += " " + batteryInfo;
|
||||
|
|
@ -130,7 +130,7 @@ namespace Utils {
|
|||
}
|
||||
#endif
|
||||
|
||||
if (Config.externalVoltageMeasurement) {
|
||||
if (Config.battery.externalVoltageMeasurement) {
|
||||
String externalVoltage = String(BATTERY_Utils::checkExternalVoltage(),2) + "V";
|
||||
beaconPacket += " Ext=" + externalVoltage;
|
||||
secondaryBeaconPacket += " Ext=" + externalVoltage;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue