summaryrefslogtreecommitdiffstats
path: root/apps/wps-display.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/wps-display.c')
-rw-r--r--apps/wps-display.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c
index 2972fc0a33..3dda50842f 100644
--- a/apps/wps-display.c
+++ b/apps/wps-display.c
@@ -616,7 +616,7 @@ bool wps_refresh(struct mp3entry* id3, int ffwd_offset, bool refresh_all)
return true;
}
-void wps_display(struct mp3entry* id3)
+bool wps_display(struct mp3entry* id3)
{
lcd_clear_display();
@@ -624,11 +624,12 @@ void wps_display(struct mp3entry* id3)
{
#ifdef HAVE_LCD_CHARCELLS
lcd_puts(0, 0, str(LANG_END_PLAYLIST_PLAYER));
- lcd_puts(0, 1, str(LANG_END_CONFIRM_PLAYER));
#else
lcd_puts(0, 2, str(LANG_END_PLAYLIST_RECORDER));
- lcd_puts(5, 4, str(LANG_END_CONFIRM_RECORDER));
+ lcd_update();
#endif
+ sleep(HZ);
+ return true;
}
else
{
@@ -653,6 +654,7 @@ void wps_display(struct mp3entry* id3)
wps_refresh(id3, 0, true);
status_draw();
lcd_update();
+ return false;
}
#if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR)