Allow high current charging on china chargers

This commit is contained in:
Marc Alexander 2012-05-11 12:45:55 +02:00 committed by milaq
parent c0e5d2e3af
commit bb92dc19da

View File

@ -280,7 +280,7 @@ static BOOL is_charging_avaiable(void)
static BOOL is_high_current_charging_avaialable(void)
{
if (!poweralg.protect_flags.is_charging_high_current_avaialble) return FALSE;
if (!poweralg.is_china_ac_in) return FALSE;
//if (!poweralg.is_china_ac_in) return FALSE; /* allow high current charging on china chargers */
if (poweralg.charge_state == CHARGE_STATE_UNKNOWN) return FALSE;
return TRUE;
}