|
@@ -1561,10 +1561,14 @@ void CableCheckDetected(byte index)
|
|
}
|
|
}
|
|
else if (_chargingData[index]->SystemStatus <= S_CHARGING)
|
|
else if (_chargingData[index]->SystemStatus <= S_CHARGING)
|
|
{
|
|
{
|
|
- if (_chargingData[index]->Type == _Type_GB)
|
|
|
|
- SetGfdConfig(index, GFD_IDLE);
|
|
|
|
- else
|
|
|
|
|
|
+ if (_chargingData[index]->Type == _Type_CCS_2)
|
|
|
|
+ {
|
|
SetGfdConfig(index, GFD_CHARGING);
|
|
SetGfdConfig(index, GFD_CHARGING);
|
|
|
|
+ }
|
|
|
|
+ else
|
|
|
|
+ {
|
|
|
|
+ SetGfdConfig(index, GFD_IDLE);
|
|
|
|
+ }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
else if(_chargingData[index]->SystemStatus == S_COMPLETE || _chargingData[index]->SystemStatus == S_PREPARNING
|
|
else if(_chargingData[index]->SystemStatus == S_COMPLETE || _chargingData[index]->SystemStatus == S_PREPARNING
|