Skip to content

Commit

Permalink
fix DCL ceiling (#122)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabramz authored Sep 20, 2024
1 parent 727c89a commit 479d02e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Core/Src/analyzer.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,6 +420,7 @@ void calc_dcl()
/* ceiling for current limit */
if (current_limit > MAX_CELL_CURR) {
bmsdata->discharge_limit = MAX_CELL_CURR;
return;
}

/* protection against being init to a high value */
Expand Down
2 changes: 1 addition & 1 deletion Drivers/Embedded-Base

0 comments on commit 479d02e

Please sign in to comment.