diff options
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clip/lcd-clip.c')
-rw-r--r-- | firmware/target/arm/as3525/sansa-clip/lcd-clip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/lcd-clip.c b/firmware/target/arm/as3525/sansa-clip/lcd-clip.c index 29d9259b52..775988cc0e 100644 --- a/firmware/target/arm/as3525/sansa-clip/lcd-clip.c +++ b/firmware/target/arm/as3525/sansa-clip/lcd-clip.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include "system.h" | 26 | #include "system.h" |
27 | #include "cpu.h" | 27 | #include "cpu.h" |
28 | 28 | ||
29 | void lcd_hw_init(void) | 29 | void lcd_hw_init(int *offset) |
30 | { | 30 | { |
31 | /* DBOP initialisation, do what OF does */ | 31 | /* DBOP initialisation, do what OF does */ |
32 | CGU_DBOP = (1<<3) | AS3525_DBOP_DIV; | 32 | CGU_DBOP = (1<<3) | AS3525_DBOP_DIV; |
@@ -45,6 +45,8 @@ void lcd_hw_init(void) | |||
45 | GPIOA_PIN(0) = (1<<0); | 45 | GPIOA_PIN(0) = (1<<0); |
46 | GPIOA_PIN(4) = 0; | 46 | GPIOA_PIN(4) = 0; |
47 | GPIOB_PIN(6) = (1<<6); | 47 | GPIOB_PIN(6) = (1<<6); |
48 | |||
49 | *offset = 2; | ||
48 | } | 50 | } |
49 | 51 | ||
50 | #define LCD_DELAY 1 | 52 | #define LCD_DELAY 1 |