summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/wps.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/wps.c b/apps/wps.c
index 3e72d4ba49..e7ddcfe87f 100644
--- a/apps/wps.c
+++ b/apps/wps.c
@@ -125,6 +125,8 @@ int wps_show(void)
125 int lastartist=0, lastalbum=0, lasttitle=0; 125 int lastartist=0, lastalbum=0, lasttitle=0;
126 bool lastvbr = false; 126 bool lastvbr = false;
127 127
128 lcd_clear_display();
129
128 while ( 1 ) { 130 while ( 1 ) {
129 int i; 131 int i;
130 char buffer[32]; 132 char buffer[32];
@@ -174,6 +176,13 @@ int wps_show(void)
174 } 176 }
175#endif 177#endif
176 } 178 }
179
180#ifdef HAVE_LCD_BITMAP
181 /* draw battery indicator line */
182 lcd_clearline(0,LCD_HEIGHT-1,LCD_WIDTH-1, LCD_HEIGHT-1);
183 lcd_drawline(0,LCD_HEIGHT-1,battery_level() * LCD_WIDTH / 100, LCD_HEIGHT-1);
184#endif
185
177 for ( i=0;i<5;i++ ) { 186 for ( i=0;i<5;i++ ) {
178 switch ( button_get(false) ) { 187 switch ( button_get(false) ) {
179 case BUTTON_ON: 188 case BUTTON_ON: