summaryrefslogtreecommitdiff
path: root/firmware/export
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
parent579089afa546d72c0a05815ed3abfff069ed520b (diff)
downloadrockbox-17bc340f1f0571dc90c91e6f39f93448151d557e.tar.gz
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')
-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;
56typedef unsigned long fb_remote_data; 56typedef unsigned long fb_remote_data;
57#endif 57#endif
58 58
59#ifndef LCD_REMOTE_FBWIDTH 59/* common functions */
60#define LCD_REMOTE_FBWIDTH LCD_REMOTE_WIDTH 60void lcd_remote_init(void);
61#endif 61void lcd_remote_write_command(int cmd);
62void lcd_remote_write_command_ex(int cmd, int data);
63void lcd_remote_write_data(const fb_remote_data *data, int count);
62 64
63/* Low-level drawing function types */ 65/* Low-level drawing function types */
64typedef void lcd_remote_pixelfunc_type(int x, int y); 66typedef void lcd_remote_pixelfunc_type(int x, int y);