diff options
author | Dave Chapman <dave@dchapman.com> | 2006-02-21 15:01:25 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2006-02-21 15:01:25 +0000 |
commit | 8b1297a0b683c03f320b502652113633032411a7 (patch) | |
tree | d6d4104d8b7519c2edb56fa6b83e61a41615b4fd /firmware/drivers | |
parent | c7fd0fee7ad2581889e84748ab64e10003d9d526 (diff) | |
download | rockbox-8b1297a0b683c03f320b502652113633032411a7.tar.gz rockbox-8b1297a0b683c03f320b502652113633032411a7.zip |
Patch #1435744 from Andrew Scott - initial iPod Mini support
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8764 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/drivers')
-rw-r--r-- | firmware/drivers/lcd-ipod.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-ipod.c b/firmware/drivers/lcd-ipod.c index d1d63b9911..4df47f9f20 100644 --- a/firmware/drivers/lcd-ipod.c +++ b/firmware/drivers/lcd-ipod.c | |||
@@ -105,8 +105,13 @@ static void lcd_cmd_and_data(int cmd, int data_lo, int data_hi) | |||
105 | * LCD init | 105 | * LCD init |
106 | **/ | 106 | **/ |
107 | void lcd_init_device(void){ | 107 | void lcd_init_device(void){ |
108 | #ifdef APPLE_IPODMINI | ||
109 | lcd_cmd_and_data(0x1, 0x0, 0xd); | ||
110 | #else | ||
108 | /* driver output control - 160x128 */ | 111 | /* driver output control - 160x128 */ |
109 | lcd_cmd_and_data(0x1, 0x1, 0xf); | 112 | lcd_cmd_and_data(0x1, 0x1, 0xf); |
113 | #endif | ||
114 | |||
110 | lcd_cmd_and_data(0x5, 0x0, 0x10); | 115 | lcd_cmd_and_data(0x5, 0x0, 0x10); |
111 | 116 | ||
112 | #ifdef APPLE_IPOD4G | 117 | #ifdef APPLE_IPOD4G |