Fix the red.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16299 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Karl Kurbjun 2008-02-13 05:49:48 +00:00
parent 94bd1f74a7
commit c3213e40ad

View file

@ -70,7 +70,7 @@ void reset_LCD(bool reset)
GPBDAT&=~0x80; GPBDAT&=~0x80;
} }
void SPI_Send_Bytes(unsigned char *array, int count) void SPI_Send_Bytes(const unsigned char *array, int count)
{ {
while (count--) while (count--)
{ {
@ -113,6 +113,7 @@ void Setup_LCD_CTRL(void)
void lcd_init_device(void) void lcd_init_device(void)
{ {
#ifdef BOOTLOADER #ifdef BOOTLOADER
int i;
/* When the Rockbox bootloader starts, we are changing framebuffer address, /* When the Rockbox bootloader starts, we are changing framebuffer address,
but we don't want what's shown on the LCD to change until we do an but we don't want what's shown on the LCD to change until we do an
lcd_update(), so copy the data from the old framebuffer to the new one */ lcd_update(), so copy the data from the old framebuffer to the new one */