diff options
| author | Dave Chapman <dave@dchapman.com> | 2008-07-17 10:09:12 +0000 |
|---|---|---|
| committer | Dave Chapman <dave@dchapman.com> | 2008-07-17 10:09:12 +0000 |
| commit | ccf4ce98fd6f5fd76c392774181cad8b051a4f01 (patch) | |
| tree | 871595281886327f2b741c0ab335aad2420adbab | |
| parent | ee27a4fb7ca54a90bc97878ef59b7f47df3edfbb (diff) | |
| download | rockbox-ccf4ce98fd6f5fd76c392774181cad8b051a4f01.zip rockbox-ccf4ce98fd6f5fd76c392774181cad8b051a4f01.tar.gz rockbox-ccf4ce98fd6f5fd76c392774181cad8b051a4f01.tar.bz2 rockbox-ccf4ce98fd6f5fd76c392774181cad8b051a4f01.tar.xz | |
Fix the iPod Photo/Color "type 0 LCD" bug introduced in r17715 by correctly initialising the LCD to accept big-endian data (the same format as the "type 1" LCDs). Also some tab policing. Closes FS#9122 and FS#9097
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18079 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | firmware/target/arm/ipod/lcd-color_nano.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/firmware/target/arm/ipod/lcd-color_nano.c b/firmware/target/arm/ipod/lcd-color_nano.c index 4bb900a..7d004cb 100644 --- a/firmware/target/arm/ipod/lcd-color_nano.c +++ b/firmware/target/arm/ipod/lcd-color_nano.c @@ -104,16 +104,16 @@ void lcd_init_device(void) lcd_type = 1; } } - if (lcd_type == 0) { - lcd_cmd_data(0xef, 0x0); - lcd_cmd_data(0x1, 0x0); - lcd_cmd_data(0x80, 0x1); - lcd_cmd_data(0x10, 0x8); - lcd_cmd_data(0x18, 0x6); - lcd_cmd_data(0x7e, 0x4); - lcd_cmd_data(0x7e, 0x5); - lcd_cmd_data(0x7f, 0x1); - } + if (lcd_type == 0) { + lcd_cmd_data(0xef, 0x0); + lcd_cmd_data(0x1, 0x0); + lcd_cmd_data(0x80, 0x1); + lcd_cmd_data(0x10, 0xc); + lcd_cmd_data(0x18, 0x6); + lcd_cmd_data(0x7e, 0x4); + lcd_cmd_data(0x7e, 0x5); + lcd_cmd_data(0x7f, 0x1); + } #elif CONFIG_LCD == LCD_IPODNANO /* iPodLinux doesn't appear have any LCD init code for the Nano */ |