From aab05be49f1f8ed2ab412aa6983feb9257d4157c Mon Sep 17 00:00:00 2001 From: Ricardo Guzman Date: Thu, 29 Oct 2026 11:17:11 -0300 Subject: [PATCH] batt message fix --- src/utils.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/utils.cpp b/src/utils.cpp index d51eecb..5fee953 100644 --- a/src/utils.cpp +++ b/src/utils.cpp @@ -221,8 +221,8 @@ namespace Utils { if (Config.battery.sendInternalVoltage || Config.battery.monitorInternalVoltage) { float internalVoltage = BATTERY_Utils::checkInternalVoltage(); if (Config.battery.monitorInternalVoltage && internalVoltage < Config.battery.internalSleepVoltage) { - aprsisBeaconPacket += " **IntBatWarning:SLEEP**"; - loraBeaconPacket += " **IntBatWarning:SLEEP**"; + aprsisBeaconPacket += " **IntBattWarning:SLEEP**"; + loraBeaconPacket += " **IntBattWarning:SLEEP**"; shouldSleepLowVoltage = true; } @@ -248,8 +248,8 @@ namespace Utils { if (Config.battery.sendExternalVoltage || Config.battery.monitorExternalVoltage) { float externalVoltage = BATTERY_Utils::checkExternalVoltage(); if (Config.battery.monitorExternalVoltage && externalVoltage < Config.battery.externalSleepVoltage) { - aprsisBeaconPacket += " **ExtBatWarning:SLEEP**"; - loraBeaconPacket += " **ExtBatWarning:SLEEP**"; + aprsisBeaconPacket += " **ExtBattWarning:SLEEP**"; + loraBeaconPacket += " **ExtBattWarning:SLEEP**"; shouldSleepLowVoltage = true; } @@ -428,7 +428,7 @@ namespace Utils { if (mode == 0) { // at startup delay(3000); } - Serial.println("\n\n*** Sleeping Low Battey Voltage ***\n\n"); + Serial.println("\n\n*** Sleeping Low Battery Voltage ***\n\n"); esp_sleep_enable_timer_wakeup(30 * 60 * 1000000); // sleep 30 min if (mode == 1) { // low voltage detected after a while displayToggle(false);