forked from len0rd/rockbox
corrected battery empty condition
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1686 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
18239b831d
commit
f8e4fedb90
1 changed files with 4 additions and 4 deletions
|
@ -144,7 +144,7 @@ void status_draw(void)
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
plug_state=false;
|
plug_state=false;
|
||||||
if(battlevel > battery_level_safe())
|
if(battery_level_safe())
|
||||||
battery_state = true;
|
battery_state = true;
|
||||||
else
|
else
|
||||||
if(TIME_AFTER(current_tick, switch_tick)) {
|
if(TIME_AFTER(current_tick, switch_tick)) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue