break the loop
This commit is contained in:
parent
d838c2a121
commit
b2ba1bab5d
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ static uint8_t lithium_ion_mv_to_pct(int16_t bat_mv) {
|
|||
|
||||
// Resolve linear equation
|
||||
charge_state = charge_level_lut[lut_idx].pct + slope * distLower;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue