1.LI_PACK

This commit is contained in:
payton 2023-11-29 10:14:16 +08:00
parent e73791c1c1
commit 24c8b031ec
3 changed files with 4 additions and 2 deletions

View File

@ -1953,6 +1953,7 @@ typedef enum {
SF_BATT_ALKALINE = 0,
SF_BATT_NI_MH,
SF_BATT_LI,
SF_BATT_LI_PACK,
SF_BATT_MAX,
} SF_BatteryType_e;

View File

@ -913,9 +913,9 @@ void sf_battery_level_polling(void)
sf_temper_update();
if(LiPolymerVoltageVal)
{
if(SF_BATT_LI != puiPara->BatteryType)
if(SF_BATT_LI_PACK != puiPara->BatteryType)
{
puiPara->BatteryType = SF_BATT_LI;
puiPara->BatteryType = SF_BATT_LI_PACK;
}
}
//ret = sf_check_low_battery();

View File

@ -1954,6 +1954,7 @@ typedef enum {
SF_BATT_ALKALINE = 0,
SF_BATT_NI_MH,
SF_BATT_LI,
SF_BATT_LI_PACK,
SF_BATT_MAX,
} SF_BatteryType_e;