diff options
author | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-08 23:32:59 +0000 |
---|---|---|
committer | Linus Nielsen Feltzing <linus@haxx.se> | 2005-11-08 23:32:59 +0000 |
commit | d90373380919c5b30ff99f26e5f6e74e75579b2c (patch) | |
tree | faf920327dab4f4c0cd34f4966cb1bb9da4dc021 /firmware | |
parent | c9db86ee70d7fe220634ea27587cd4d5970891e3 (diff) | |
download | rockbox-d90373380919c5b30ff99f26e5f6e74e75579b2c.tar.gz rockbox-d90373380919c5b30ff99f26e5f6e74e75579b2c.zip |
Quick fix to make the h300 build work
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7796 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/drivers/lcd-16bit.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/firmware/drivers/lcd-16bit.c b/firmware/drivers/lcd-16bit.c index f7ea09ab98..d6ce5dc389 100644 --- a/firmware/drivers/lcd-16bit.c +++ b/firmware/drivers/lcd-16bit.c | |||
@@ -95,6 +95,23 @@ static const char scroll_tick_table[16] = { | |||
95 | 100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3 | 95 | 100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3 |
96 | }; | 96 | }; |
97 | 97 | ||
98 | #ifdef IRIVER_H300_SERIES | ||
99 | static void lcd_cmd_data(int cmd, int data) | ||
100 | { | ||
101 | } | ||
102 | |||
103 | static void lcd_send_lo(int v) | ||
104 | { | ||
105 | } | ||
106 | |||
107 | static void lcd_send_hi(int v) | ||
108 | { | ||
109 | } | ||
110 | |||
111 | #define outl(a, v) | ||
112 | #define inl(x) 0 | ||
113 | |||
114 | #else | ||
98 | #define IPOD_PP5020_RTC 0x60005010 | 115 | #define IPOD_PP5020_RTC 0x60005010 |
99 | 116 | ||
100 | #define LCD_DATA 0x10 | 117 | #define LCD_DATA 0x10 |
@@ -156,6 +173,7 @@ static void lcd_cmd_data(int cmd, int data) | |||
156 | lcd_send_hi(data & 0xff); | 173 | lcd_send_hi(data & 0xff); |
157 | } | 174 | } |
158 | } | 175 | } |
176 | #endif | ||
159 | 177 | ||
160 | /*** hardware configuration ***/ | 178 | /*** hardware configuration ***/ |
161 | 179 | ||