diff options
Diffstat (limited to 'firmware/target/arm')
-rw-r--r-- | firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c b/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c index c07a85de50..bfa02e796d 100644 --- a/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c +++ b/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c | |||
@@ -186,10 +186,12 @@ void lcd_init_device(void) | |||
186 | ams3525_dbop_init(); | 186 | ams3525_dbop_init(); |
187 | 187 | ||
188 | GPIOA_DIR |= 0x33; /* pins 5:4 and 1:0 out */ | 188 | GPIOA_DIR |= 0x33; /* pins 5:4 and 1:0 out */ |
189 | GPIOB_DIR |= 0x40; /* pin 6 out */ | ||
189 | 190 | ||
190 | GPIOA_PIN(1) = (1<<1); | 191 | GPIOA_PIN(1) = (1<<1); |
191 | GPIOA_PIN(0) = (1<<0); | 192 | GPIOA_PIN(0) = (1<<0); |
192 | GPIOA_PIN(4) = 0; | 193 | GPIOA_PIN(4) = 0; |
194 | GPIOB_PIN(6) = (1<<6); | ||
193 | 195 | ||
194 | /* Set display clock (divide ratio = 1) and oscillator frequency (1) */ | 196 | /* Set display clock (divide ratio = 1) and oscillator frequency (1) */ |
195 | lcd_write_command(LCD_SET_DISPLAY_CLOCK_AND_OSC_FREQ); | 197 | lcd_write_command(LCD_SET_DISPLAY_CLOCK_AND_OSC_FREQ); |