Patch #881188 by Craigh Sather, fixes battery display updates in WPS
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4326 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ec6dc8b6f1
commit
4467782864
1 changed files with 1 additions and 0 deletions
|
@ -543,6 +543,7 @@ static char* get_tag(struct mp3entry* id3,
|
|||
break;
|
||||
|
||||
case 'b': /* battery info */
|
||||
*flags |= WPS_REFRESH_DYNAMIC;
|
||||
switch (tag[1]) {
|
||||
case 'l': /* battery level */
|
||||
snprintf(buf, buf_size, "%d%%", battery_level());
|
||||
|
|
Loading…
Reference in a new issue