summaryrefslogtreecommitdiff
path: root/firmware/target/arm
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-02-08 08:20:42 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-02-08 08:20:42 +0000
commit3f43765925d9df7ae1c76b9ed29ee779ad190e89 (patch)
tree2833fa182f2fc213f95644677ef6701442c5a416 /firmware/target/arm
parentec3955529037b141ef0a29ab74684c86cd965888 (diff)
Sansa Clip+: use 8 bits transfers, like DMA transfers
The code assumed LCD pixels were packed on 16 bits values but for the Clip we use 8 bits values. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24563 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm')
-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)
{
GPIOB_PIN(2) = (1<<2);
- SSP_CR0 = 0 | 15; /* Motorola SPI frame format, 16 bits */
while (count--)
{
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)
while(!(SSP_SR & (1<<0))) /* Transmit FIFO is not empty */
;
}
- SSP_CR0 = 0 | 7; /* Motorola SPI frame format, 8 bits */
}
#endif