summaryrefslogtreecommitdiff
path: root/firmware/drivers/lcd-16bit.c
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-11-08 23:32:59 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-11-08 23:32:59 +0000
commitd90373380919c5b30ff99f26e5f6e74e75579b2c (patch)
treefaf920327dab4f4c0cd34f4966cb1bb9da4dc021 /firmware/drivers/lcd-16bit.c
parentc9db86ee70d7fe220634ea27587cd4d5970891e3 (diff)
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/drivers/lcd-16bit.c')
-rw-r--r--firmware/drivers/lcd-16bit.c18
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] = {
100, 80, 64, 50, 40, 32, 25, 20, 16, 12, 10, 8, 6, 5, 4, 3
};
+#ifdef IRIVER_H300_SERIES
+static void lcd_cmd_data(int cmd, int data)
+{
+}
+
+static void lcd_send_lo(int v)
+{
+}
+
+static void lcd_send_hi(int v)
+{
+}
+
+#define outl(a, v)
+#define inl(x) 0
+
+#else
#define IPOD_PP5020_RTC 0x60005010
#define LCD_DATA 0x10
@@ -156,6 +173,7 @@ static void lcd_cmd_data(int cmd, int data)
lcd_send_hi(data & 0xff);
}
}
+#endif
/*** hardware configuration ***/