summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2005-05-31 12:37:05 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2005-05-31 12:37:05 +0000
commit88f3a53b7ef9cc06dbceee4152421626008d9e73 (patch)
tree721526535f4eb96babe6c48f2ddd1839bd0036e2 /firmware
parentd4c1464d155434b6f1d3d6cfff196d85fe3cbb6d (diff)
downloadrockbox-88f3a53b7ef9cc06dbceee4152421626008d9e73.tar.gz
rockbox-88f3a53b7ef9cc06dbceee4152421626008d9e73.zip
iRiver remote LCD is only 128x64
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6542 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware')
-rw-r--r--firmware/drivers/lcd-h100-remote.c4
-rw-r--r--firmware/export/config-h100.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/firmware/drivers/lcd-h100-remote.c b/firmware/drivers/lcd-h100-remote.c
index 256934613a..c7c2f08167 100644
--- a/firmware/drivers/lcd-h100-remote.c
+++ b/firmware/drivers/lcd-h100-remote.c
@@ -390,7 +390,7 @@ void lcd_remote_update (void)
for (y = 0; y < LCD_REMOTE_HEIGHT / 8; y++)
{
lcd_remote_write_command(LCD_REMOTE_CNTL_SET_PAGE_ADDRESS | y);
- lcd_remote_write_command_ex(0x10, 0x00);
+ lcd_remote_write_command_ex(0x10, 0x04);
lcd_remote_write_data(lcd_remote_framebuffer[y], LCD_REMOTE_WIDTH);
}
}
@@ -423,7 +423,7 @@ void lcd_remote_init(void)
sleep(1);
- lcd_remote_write_command(LCD_REMOTE_CNTL_INIT_LINE | 0x0); // init line
+ lcd_remote_write_command(LCD_REMOTE_CNTL_INIT_LINE | 0x1); // init line
lcd_remote_write_command(LCD_REMOTE_CNTL_SET_PAGE_ADDRESS | 0x0); // page address
lcd_remote_write_command_ex(0x10, 0x00); // Column MSB + LSB
diff --git a/firmware/export/config-h100.h b/firmware/export/config-h100.h
index 0044e28009..0052b7246f 100644
--- a/firmware/export/config-h100.h
+++ b/firmware/export/config-h100.h
@@ -9,8 +9,8 @@
#define LCD_HEIGHT 128
/* remote LCD */
-#define LCD_REMOTE_WIDTH 134
-#define LCD_REMOTE_HEIGHT 65
+#define LCD_REMOTE_WIDTH 128
+#define LCD_REMOTE_HEIGHT 64
#define CONFIG_KEYPAD IRIVER_H100_PAD