battery monitoring for Tbeam Supreme
This commit is contained in:
parent
8256bb4327
commit
f5bf92aefe
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue