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:
Linus Nielsen Feltzing 2004-03-02 07:56:58 +00:00
parent ec6dc8b6f1
commit 4467782864

View file

@ -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());