Battery % Bar goes past the end of the screen and wraps around
Closed this issue · 1 comments
YoungMaker commented
End goal
Battery bar does not go past the end of the bar 'frame'
Your Code
int hvBarLength = ((BAR_LENGTH-2)*hvBattPercent) / 100;```
this calculation makes an assumption that hvBattPercent is in the range 0,100
smit-happens commented
fixed in e1bc0b6