summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
Diffstat (limited to 'firmware')
-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)
94/* DBOP initialisation, do what OF does */ 94/* DBOP initialisation, do what OF does */
95static void ams3525_dbop_init(void) 95static void ams3525_dbop_init(void)
96{ 96{
97 CGU_DBOP = (1<<3) | (4-1); 97 CGU_DBOP = (1<<3) | (4-1);
98 98
99 DBOP_TIMPOL_01 = 0xe167e167; 99 DBOP_TIMPOL_01 = 0xe167e167;
100 DBOP_TIMPOL_23 = 0xe167006e; 100 DBOP_TIMPOL_23 = 0xe167006e;
@@ -373,7 +373,7 @@ void lcd_update(void)
373 if (!display_on) 373 if (!display_on)
374 return; 374 return;
375 375
376 lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_SOLID_VERT); 376 lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_HORZ);
377 377
378 /* Set start position and window */ 378 /* Set start position and window */
379 lcd_write_reg(R_HORIZ_RAM_ADDR_POS, 379 lcd_write_reg(R_HORIZ_RAM_ADDR_POS,
@@ -411,7 +411,7 @@ void lcd_update_rect(int x, int y, int width, int height)
411 if (y >= ymax) 411 if (y >= ymax)
412 return; /* nothing left to do */ 412 return; /* nothing left to do */
413 413
414 lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_SOLID_VERT); 414 lcd_write_reg(R_ENTRY_MODE, R_ENTRY_MODE_HORZ);
415 /* Set start position and window */ 415 /* Set start position and window */
416 lcd_write_reg(R_HORIZ_RAM_ADDR_POS, 416 lcd_write_reg(R_HORIZ_RAM_ADDR_POS,
417 ((y_offset + LCD_HEIGHT-1) << 8) | y_offset); 417 ((y_offset + LCD_HEIGHT-1) << 8) | y_offset);