|
@@ -332,9 +332,6 @@ void soc_update(void){
|
|
|
_soc.charger_coulomb = 0;//clear charing
|
|
_soc.charger_coulomb = 0;//clear charing
|
|
|
_soc.total_coulomb += _soc.pre_charger_coulomb / 3600.0f;
|
|
_soc.total_coulomb += _soc.pre_charger_coulomb / 3600.0f;
|
|
|
chargering = 1;
|
|
chargering = 1;
|
|
|
- if (_soc.capacity < 100) {
|
|
|
|
|
- is_force_full = 0;
|
|
|
|
|
- }
|
|
|
|
|
#if LEAST_SQUARE==1
|
|
#if LEAST_SQUARE==1
|
|
|
start_least_square(0);
|
|
start_least_square(0);
|
|
|
#endif
|
|
#endif
|