summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2004-03-02 07:56:58 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2004-03-02 07:56:58 +0000
commit4467782864b0a00aa10f07f66b859961297a8d31 (patch)
tree2edcef9e073f22f92d04a75a88241a40224e23d4 /apps
parentec6dc8b6f1f9865be30ec4afdeac33601a61b4f6 (diff)
downloadrockbox-4467782864b0a00aa10f07f66b859961297a8d31.tar.gz
rockbox-4467782864b0a00aa10f07f66b859961297a8d31.zip
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
Diffstat (limited to 'apps')
-rw-r--r--apps/wps-display.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index a24cae9717..ded6c7cdcf 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -543,6 +543,7 @@ static char* get_tag(struct mp3entry* id3,
543 break; 543 break;
544 544
545 case 'b': /* battery info */ 545 case 'b': /* battery info */
546 *flags |= WPS_REFRESH_DYNAMIC;
546 switch (tag[1]) { 547 switch (tag[1]) {
547 case 'l': /* battery level */ 548 case 'l': /* battery level */
548 snprintf(buf, buf_size, "%d%%", battery_level()); 549 snprintf(buf, buf_size, "%d%%", battery_level());