diff options
| author | Björn Stenberg <bjorn@haxx.se> | 2002-08-31 11:54:19 +0000 |
|---|---|---|
| committer | Björn Stenberg <bjorn@haxx.se> | 2002-08-31 11:54:19 +0000 |
| commit | d7339c4a9429269cd43cdd30a71115049f47b529 (patch) | |
| tree | 2e2cd436a5fcdec8104e84619f75a1a7f1bcb63a | |
| parent | 1c00dd8212080f3e7647a0a66b6a574d1f369e51 (diff) | |
| download | rockbox-d7339c4a9429269cd43cdd30a71115049f47b529.zip rockbox-d7339c4a9429269cd43cdd30a71115049f47b529.tar.gz rockbox-d7339c4a9429269cd43cdd30a71115049f47b529.tar.bz2 rockbox-d7339c4a9429269cd43cdd30a71115049f47b529.tar.xz | |
Removed sim warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@2095 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/wps-display.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/wps-display.c b/apps/wps-display.c index f3dbc6e..580bbe0 100644 --- a/apps/wps-display.c +++ b/apps/wps-display.c @@ -238,7 +238,7 @@ static bool display_custom_wps( struct mp3entry* id3, switch(cchr3) { -#ifdef HAVE_LCD_CHARCELLS +#if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR) case 'b': /* Progress Bar (PLAYER ONLY)*/ draw_player_progress(id3, ff_rewind_count); snprintf(buf, LINE_LEN, "\x01"); @@ -551,10 +551,9 @@ void wps_display(struct mp3entry* id3) lcd_update(); } -#ifdef HAVE_LCD_CHARCELLS +#if defined(HAVE_LCD_CHARCELLS) && !defined(SIMULATOR) bool draw_player_progress(struct mp3entry* id3, int ff_rewwind_count) { -#ifndef SIMULATOR if(!id3) return(false); 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); return(true); -#endif } #endif |