1.LI_PACK
This commit is contained in:
parent
e73791c1c1
commit
24c8b031ec
|
@ -1953,6 +1953,7 @@ typedef enum {
|
||||||
SF_BATT_ALKALINE = 0,
|
SF_BATT_ALKALINE = 0,
|
||||||
SF_BATT_NI_MH,
|
SF_BATT_NI_MH,
|
||||||
SF_BATT_LI,
|
SF_BATT_LI,
|
||||||
|
SF_BATT_LI_PACK,
|
||||||
SF_BATT_MAX,
|
SF_BATT_MAX,
|
||||||
} SF_BatteryType_e;
|
} SF_BatteryType_e;
|
||||||
|
|
||||||
|
|
|
@ -913,9 +913,9 @@ void sf_battery_level_polling(void)
|
||||||
sf_temper_update();
|
sf_temper_update();
|
||||||
if(LiPolymerVoltageVal)
|
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();
|
//ret = sf_check_low_battery();
|
||||||
|
|
|
@ -1954,6 +1954,7 @@ typedef enum {
|
||||||
SF_BATT_ALKALINE = 0,
|
SF_BATT_ALKALINE = 0,
|
||||||
SF_BATT_NI_MH,
|
SF_BATT_NI_MH,
|
||||||
SF_BATT_LI,
|
SF_BATT_LI,
|
||||||
|
SF_BATT_LI_PACK,
|
||||||
SF_BATT_MAX,
|
SF_BATT_MAX,
|
||||||
} SF_BatteryType_e;
|
} SF_BatteryType_e;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user