1.自动模式启动太快电池获取仍需要fast
This commit is contained in:
parent
92ab1842a3
commit
9aa39efafd
|
@ -1508,12 +1508,13 @@ BOOL sf_is_battery_low(UINT8 refresh, UINT8 nightMode)
|
|||
{
|
||||
UINT8 batteryVal = 0;
|
||||
UINT8 batteryLevel = 0;
|
||||
UINT8 PowerOnMode = sf_poweron_type_get();
|
||||
if((refresh) && (PowerOnMode != PWR_ON_SETUP))
|
||||
{
|
||||
|
||||
// if(refresh)
|
||||
// {
|
||||
// sf_battery_value_fast_get();
|
||||
// //printf("DC=%d Custom=%d bat=%d\n", dcValue, CustomValue, batli8v);
|
||||
// }
|
||||
sf_battery_value_fast_get();
|
||||
//printf("DC=%d Custom=%d bat=%d\n", dcValue, CustomValue, batli8v);
|
||||
}
|
||||
|
||||
batteryVal = sf_battery_value_get(nightMode);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user