forked from len0rd/rockbox
Removed sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2095 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
1c00dd8212
commit
d7339c4a94
1 changed files with 2 additions and 4 deletions
|
|
@ -238,7 +238,7 @@ static bool display_custom_wps( struct mp3entry* id3,
|
||||||
|
|
||||||
switch(cchr3)
|
switch(cchr3)
|
||||||
{
|
{
|
||||||
#ifdef HAVE_LCD_CHARCELLS
|
#if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR)
|
||||||
case 'b': /* Progress Bar (PLAYER ONLY)*/
|
case 'b': /* Progress Bar (PLAYER ONLY)*/
|
||||||
draw_player_progress(id3, ff_rewind_count);
|
draw_player_progress(id3, ff_rewind_count);
|
||||||
snprintf(buf, LINE_LEN, "\x01");
|
snprintf(buf, LINE_LEN, "\x01");
|
||||||
|
|
@ -551,10 +551,9 @@ void wps_display(struct mp3entry* id3)
|
||||||
lcd_update();
|
lcd_update();
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef HAVE_LCD_CHARCELLS
|
#if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR)
|
||||||
bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count)
|
bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count)
|
||||||
{
|
{
|
||||||
#ifndef SIMULATOR
|
|
||||||
if(!id3)
|
if(!id3)
|
||||||
return(false);
|
return(false);
|
||||||
char player_progressbar[7];
|
char player_progressbar[7];
|
||||||
|
|
@ -579,6 +578,5 @@ bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count)
|
||||||
}
|
}
|
||||||
lcd_define_pattern(8,player_progressbar,7);
|
lcd_define_pattern(8,player_progressbar,7);
|
||||||
return(true);
|
return(true);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue