summaryrefslogtreecommitdiff
path: root/firmware/target
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2008-10-29 03:05:07 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2008-10-29 03:05:07 +0000
commit0a8446ad7dc5a659f59ac3d2964b9ae4f7a26899 (patch)
treeb56f15e68a60dc53749aa913d8aff81b0ba8c9a4 /firmware/target
parent6a038d1a972882175b9e7d580776dcf3d436e415 (diff)
fix lcd mirror and rotation problem on the e200v2. also remove a wierd whitespace charchter
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18913 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target')
-rw-r--r--firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
index f4e9cc3f86..c4b300ac94 100644
--- a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
+++ b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c
@@ -94,7 +94,7 @@ static void lcd_delay(int x)
/* DBOP initialisation, do what OF does */
static void ams3525_dbop_init(void)
{
- CGU_DBOP = (1<<3) | (4-1);
+ CGU_DBOP = (1<<3) | (4-1);
DBOP_TIMPOL_01 = 0xe167e167;
DBOP_TIMPOL_23 = 0xe167006e;
@@ -373,7 +373,7 @@ void lcd_update(void)
if (!display_on)
return;
- lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_SOLID_VERT);
+ lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_HORZ);
/* Set start position and window */
lcd_write_reg(R_HORIZ_RAM_ADDR_POS,
@@ -411,7 +411,7 @@ void lcd_update_rect(int x, int y, int width, int height)
if (y >= ymax)
return; /* nothing left to do */
- lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_SOLID_VERT);
+ lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_HORZ);
/* Set start position and window */
lcd_write_reg(R_HORIZ_RAM_ADDR_POS,
((y_offset + LCD_HEIGHT-1) << 8) | y_offset);