summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Kurbjun <kkurbjun@gmail.com>2008-02-13 05:49:48 +0000
committerKarl Kurbjun <kkurbjun@gmail.com>2008-02-13 05:49:48 +0000
commitc3213e40ad9c9b58d28e82255f839abb4505acff (patch)
treeb1cd97869080a35e2483fca9496bc072eff3b29f
parent94bd1f74a77a35ac968b2a9623fe9e6ae10a4de3 (diff)
downloadrockbox-c3213e40ad9c9b58d28e82255f839abb4505acff.tar.gz
rockbox-c3213e40ad9c9b58d28e82255f839abb4505acff.zip
Fix the red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16299 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c b/firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c
index dcf028b06d..1d5b431625 100644
--- a/firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c
+++ b/firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c
@@ -70,7 +70,7 @@ void reset_LCD(bool reset)
70 GPBDAT&=~0x80; 70 GPBDAT&=~0x80;
71} 71}
72 72
73void SPI_Send_Bytes(unsigned char *array, int count) 73void SPI_Send_Bytes(const unsigned char *array, int count)
74{ 74{
75 while (count--) 75 while (count--)
76 { 76 {
@@ -113,6 +113,7 @@ void Setup_LCD_CTRL(void)
113void lcd_init_device(void) 113void lcd_init_device(void)
114{ 114{
115#ifdef BOOTLOADER 115#ifdef BOOTLOADER
116 int i;
116 /* When the Rockbox bootloader starts, we are changing framebuffer address, 117 /* When the Rockbox bootloader starts, we are changing framebuffer address,
117 but we don't want what's shown on the LCD to change until we do an 118 but we don't want what's shown on the LCD to change until we do an
118 lcd_update(), so copy the data from the old framebuffer to the new one */ 119 lcd_update(), so copy the data from the old framebuffer to the new one */