summaryrefslogtreecommitdiffstats
path: root/firmware/export/lcd-remote.h
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2008-03-12 23:08:33 +0000
committerJens Arnold <amiconn@rockbox.org>2008-03-12 23:08:33 +0000
commit17bc340f1f0571dc90c91e6f39f93448151d557e (patch)
tree53fccad5fe81875497f717f9fe71b498bde5fc83 /firmware/export/lcd-remote.h
parent579089afa546d72c0a05815ed3abfff069ed520b (diff)
downloadrockbox-17bc340f1f0571dc90c91e6f39f93448151d557e.tar.gz
rockbox-17bc340f1f0571dc90c91e6f39f93448151d557e.tar.bz2
rockbox-17bc340f1f0571dc90c91e6f39f93448151d557e.zip
Make the LCD remote work in the iAudio M3, M5 and X5 bootloaders. * Fix viewport related init bug in the 2 bit vertically interleaved LCD driver. * Fix low bat warning in iaudio bootloader - voltages are in millivolts now.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16648 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/export/lcd-remote.h')
-rw-r--r--firmware/export/lcd-remote.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/firmware/export/lcd-remote.h b/firmware/export/lcd-remote.h
index cdd48e5fa3..b046c0736d 100644
--- a/firmware/export/lcd-remote.h
+++ b/firmware/export/lcd-remote.h
@@ -56,9 +56,11 @@ typedef unsigned short fb_remote_data;
typedef unsigned long fb_remote_data;
#endif
-#ifndef LCD_REMOTE_FBWIDTH
-#define LCD_REMOTE_FBWIDTH LCD_REMOTE_WIDTH
-#endif
+/* common functions */
+void lcd_remote_init(void);
+void lcd_remote_write_command(int cmd);
+void lcd_remote_write_command_ex(int cmd, int data);
+void lcd_remote_write_data(const fb_remote_data *data, int count);
/* Low-level drawing function types */
typedef void lcd_remote_pixelfunc_type(int x, int y);