getBatteryChargeCurrent fix DC2MH

This commit is contained in:
richonguzman 2024-01-04 22:19:40 -03:00
parent af5fbd4edd
commit 29873b4fdc
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ namespace POWER_Utils {
#endif
#if defined(TTGO_T_Beam_V1_0) || defined(TTGO_T_Beam_V1_0_SX1268)
if (PMU.isCharging()) {
return PMU.getBattDischargeCurrent();
return PMU.getBatteryChargeCurrent();
}
return -1.0 * PMU.getBattDischargeCurrent();
#endif