diff options
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipv2/lcd-clipv2.c')
-rw-r--r-- | firmware/target/arm/as3525/sansa-clipv2/lcd-clipv2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipv2/lcd-clipv2.c b/firmware/target/arm/as3525/sansa-clipv2/lcd-clipv2.c index f8cfb0b1cf..015eebfd87 100644 --- a/firmware/target/arm/as3525/sansa-clipv2/lcd-clipv2.c +++ b/firmware/target/arm/as3525/sansa-clipv2/lcd-clipv2.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 | CCU_IO |= (1<<12); /* ?? */ | 32 | CCU_IO |= (1<<12); /* ?? */ |
@@ -38,6 +38,8 @@ void lcd_hw_init(void) | |||
38 | 38 | ||
39 | GPIOB_DIR |= (1<<2)|(1<<5); | 39 | GPIOB_DIR |= (1<<2)|(1<<5); |
40 | GPIOB_PIN(5) = (1<<5); | 40 | GPIOB_PIN(5) = (1<<5); |
41 | |||
42 | *offset = 2; | ||
41 | } | 43 | } |
42 | 44 | ||
43 | #define LCD_DELAY 10 | 45 | #define LCD_DELAY 10 |