diff options
Diffstat (limited to 'firmware/target/arm/as3525/sansa-e200v2')
-rw-r--r-- | firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c index ef21893494..9e23dac340 100644 --- a/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c +++ b/firmware/target/arm/as3525/sansa-e200v2/lcd-e200v2.c | |||
@@ -108,7 +108,7 @@ static void lcd_delay(int x) | |||
108 | /* DBOP initialisation, do what OF does */ | 108 | /* DBOP initialisation, do what OF does */ |
109 | static void ams3525_dbop_init(void) | 109 | static void ams3525_dbop_init(void) |
110 | { | 110 | { |
111 | CGU_DBOP = (1<<3) | CLK_DIV(AS3525_PCLK_FREQ, AS3525_DBOP_FREQ); | 111 | CGU_DBOP = (1<<3) | (CLK_DIV(AS3525_PCLK_FREQ, AS3525_DBOP_FREQ) - 1); |
112 | 112 | ||
113 | DBOP_TIMPOL_01 = 0xe167e167; | 113 | DBOP_TIMPOL_01 = 0xe167e167; |
114 | DBOP_TIMPOL_23 = 0xe167006e; | 114 | DBOP_TIMPOL_23 = 0xe167006e; |