summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm')
-rw-r--r--firmware/target/arm/iriver/h10/lcd-h10_20gb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
index 596276a932..df748a74fb 100644
--- a/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
+++ b/firmware/target/arm/iriver/h10/lcd-h10_20gb.c
@@ -230,8 +230,8 @@ static void lcd_power_on(void)
230 sleep(HZ/25); 230 sleep(HZ/25);
231 231
232 /* Instructions for other mode settings (in register order). */ 232 /* Instructions for other mode settings (in register order). */
233 /* SM=0, GS=x, SS=0, NL4-0=10011 (G1-G160)*/ 233 /* SM=0, GS=x, SS=x, NL4-0=10011 (G1-G160)*/
234 lcd_write_reg(R_DRV_OUTPUT_CONTROL, y_offset ? 0x0013 : 0x0113); /* different to X5 */ 234 lcd_write_reg(R_DRV_OUTPUT_CONTROL, y_offset ? 0x0213 : 0x0113); /* different to X5 */
235 /* FLD1-0=01 (1 field), B/C=1, EOR=1 (C-pat), NW5-0=000000 (1 row) */ 235 /* FLD1-0=01 (1 field), B/C=1, EOR=1 (C-pat), NW5-0=000000 (1 row) */
236 lcd_write_reg(R_DRV_AC_CONTROL, 0x0700); 236 lcd_write_reg(R_DRV_AC_CONTROL, 0x0700);
237 /* DIT=0, BGR=1, HWM=0, I/D1-0=10, AM=1, LG2-0=000 */ 237 /* DIT=0, BGR=1, HWM=0, I/D1-0=10, AM=1, LG2-0=000 */
@@ -241,7 +241,7 @@ static void lcd_power_on(void)
241 /* NO1-0=01, SDT1-0=00, EQ1-0=00, DIV1-0=00, RTN3-00000 */ 241 /* NO1-0=01, SDT1-0=00, EQ1-0=00, DIV1-0=00, RTN3-00000 */
242 lcd_write_reg(R_FRAME_CYCLE_CONTROL, 0x4000); 242 lcd_write_reg(R_FRAME_CYCLE_CONTROL, 0x4000);
243 /* SCN4-0=000x0 (G1/G160) */ 243 /* SCN4-0=000x0 (G1/G160) */
244/* lcd_write_reg(R_GATE_SCAN_START_POS, y_offset ? 0x0000 : 0x0002); */ 244 lcd_write_reg(R_GATE_SCAN_START_POS, y_offset ? 0x0002 : 0x0000);
245 /* VL7-0=0x00 */ 245 /* VL7-0=0x00 */
246 lcd_write_reg(R_VERT_SCROLL_CONTROL, 0x0000); 246 lcd_write_reg(R_VERT_SCROLL_CONTROL, 0x0000);
247 /* SE17-10(End)=0x9f (159), SS17-10(Start)=0x00 */ 247 /* SE17-10(End)=0x9f (159), SS17-10(Start)=0x00 */