break the loop

This commit is contained in:
elagil 2021-01-18 14:19:41 +01:00
parent d838c2a121
commit b2ba1bab5d

View file

@ -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;
}
}
}