battery monitoring for Tbeam Supreme

This commit is contained in:
richonguzman 2024-01-02 01:22:03 -03:00
parent 8256bb4327
commit f5bf92aefe
1 changed files with 1 additions and 0 deletions

View File

@ -401,6 +401,7 @@ namespace MENU_Utils {
}
#endif
#if defined(TTGO_T_Beam_V1_2) || defined(TTGO_T_Beam_V1_2_SX1262)
//#if defined(TTGO_T_Beam_V1_2) || defined(TTGO_T_Beam_V1_2_SX1262) || defined(TTGO_T_Beam_S3_SUPREME_V3) //???????
if (Config.notification.lowBatteryBeep && !POWER_Utils::isCharging() && batteryCharge.toInt() < lowBatteryPercent) {
lowBatteryPercent = batteryCharge.toInt();
NOTIFICATION_Utils::lowBatteryBeep();