summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525')
-rw-r--r--firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c b/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
index 4c2a4f991b..7fd998acc6 100644
--- a/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
+++ b/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
@@ -182,12 +182,11 @@ void lcd_init_device(void)
182 ams3525_dbop_init(); 182 ams3525_dbop_init();
183 183
184 GPIOA_DIR |= 0x33; /* pins 5:4 and 1:0 out */ 184 GPIOA_DIR |= 0x33; /* pins 5:4 and 1:0 out */
185 GPIOB_DIR |= 0x60; /* pin 6:5 out */ 185 GPIOB_DIR |= 0x40; /* pin 6 out */
186 186
187 GPIOA_PIN(1) = (1<<1); 187 GPIOA_PIN(1) = (1<<1);
188 GPIOA_PIN(0) = (1<<0); 188 GPIOA_PIN(0) = (1<<0);
189 GPIOA_PIN(4) = 0; 189 GPIOA_PIN(4) = 0;
190 GPIOB_PIN(5) = 0;
191 GPIOB_PIN(6) = (1<<6); 190 GPIOB_PIN(6) = (1<<6);
192 191
193 /* Set display clock (divide ratio = 1) and oscillator frequency (1) */ 192 /* Set display clock (divide ratio = 1) and oscillator frequency (1) */