|
|
@@ -620,7 +620,7 @@ static uint32_t get_balance_mask(uint8_t current_max_index){
|
|
|
}
|
|
|
|
|
|
static void check_cell_balance(uint8_t current_max_index){
|
|
|
- if (!_bms_state.charging){ //not charging, need not do balance
|
|
|
+ if (!_bms_state.charging || (_bms_state.cell_max_vol >= SIGLE_CELL_MAX_CHARGER_VOLTAGE)){ //not charging, need not do balance
|
|
|
if (_bms_state.pack_balancing){
|
|
|
_bms_state.pack_balancing = 0;
|
|
|
_cell_balance.count = 10;
|