summaryrefslogtreecommitdiff
path: root/firmware/target/arm/as3525/sansa-clip
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clip')
-rw-r--r--firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c2
1 files changed, 0 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 ce8df9e52d..465c18e8ac 100644
--- a/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
+++ b/firmware/target/arm/as3525/sansa-clip/lcd-ssd1303.c
@@ -181,7 +181,6 @@ void lcd_write_data(const fb_data* p_bytes, int count)
181{ 181{
182 GPIOB_PIN(2) = (1<<2); 182 GPIOB_PIN(2) = (1<<2);
183 183
184 SSP_CR0 = 0 | 15; /* Motorola SPI frame format, 16 bits */
185 while (count--) 184 while (count--)
186 { 185 {
187 while(SSP_SR & (1<<1)) /* Transmit FIFO is not full */ 186 while(SSP_SR & (1<<1)) /* Transmit FIFO is not full */
@@ -190,7 +189,6 @@ void lcd_write_data(const fb_data* p_bytes, int count)
190 while(!(SSP_SR & (1<<0))) /* Transmit FIFO is not empty */ 189 while(!(SSP_SR & (1<<0))) /* Transmit FIFO is not empty */
191 ; 190 ;
192 } 191 }
193 SSP_CR0 = 0 | 7; /* Motorola SPI frame format, 8 bits */
194} 192}
195#endif 193#endif
196 194