Fix Player warnings. Charcell needs fb_data properly defined as well.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16647 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2008-03-12 21:01:23 +00:00
parent c8836112c6
commit 579089afa5

View File

@ -70,6 +70,7 @@ struct viewport {
#include "file.h" /* for MAX_PATH; FIXME: Why does this not work for sims? */
#endif /* SIMULATOR */
#ifdef HAVE_LCD_BITMAP
#if LCD_DEPTH <=8
#if (LCD_PIXELFORMAT == VERTICAL_INTERLEAVED) \
|| (LCD_PIXELFORMAT == HORIZONTAL_INTERLEAVED)
@ -83,6 +84,10 @@ typedef unsigned short fb_data;
typedef unsigned long fb_data;
#endif /* LCD_DEPTH */
#else /* LCD_CHARCELLS */
typedef unsigned char fb_data;
#endif
/* common functions */
extern void lcd_write_command(int byte);
extern void lcd_write_command_e(int cmd, int data);