diff options
author | Karl Kurbjun <kkurbjun@gmail.com> | 2008-02-13 05:49:48 +0000 |
---|---|---|
committer | Karl Kurbjun <kkurbjun@gmail.com> | 2008-02-13 05:49:48 +0000 |
commit | c3213e40ad9c9b58d28e82255f839abb4505acff (patch) | |
tree | b1cd97869080a35e2483fca9496bc072eff3b29f /firmware | |
parent | 94bd1f74a77a35ac968b2a9623fe9e6ae10a4de3 (diff) | |
download | rockbox-c3213e40ad9c9b58d28e82255f839abb4505acff.tar.gz rockbox-c3213e40ad9c9b58d28e82255f839abb4505acff.zip |
Fix the red.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16299 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/target/arm/s3c2440/gigabeat-fx/lcd-meg-fx.c | 3 |
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 | ||
73 | void SPI_Send_Bytes(unsigned char *array, int count) | 73 | void 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) | |||
113 | void lcd_init_device(void) | 113 | void 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 */ |