summaryrefslogtreecommitdiffstats
path: root/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
diff options
context:
space:
mode:
authorBertrik Sikken <bertrik@sikken.nl>2011-11-19 17:55:21 +0000
committerBertrik Sikken <bertrik@sikken.nl>2011-11-19 17:55:21 +0000
commitd78e05c5722356fd8ce20cdb4c40df44cc2b4d33 (patch)
treef720659ec1d8e4f5cbf028fcbf5451f65c3f66c3 /firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
parentbf51af7f7a81fd2c51845cb49649ff462cb84238 (diff)
downloadrockbox-d78e05c5722356fd8ce20cdb4c40df44cc2b4d33.tar.gz
rockbox-d78e05c5722356fd8ce20cdb4c40df44cc2b4d33.tar.bz2
rockbox-d78e05c5722356fd8ce20cdb4c40df44cc2b4d33.zip
Sansa clip zip: increase communication speed with the OLED controller
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31030 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c')
-rw-r--r--firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
index d071844860..af74b6c688 100644
--- a/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
+++ b/firmware/target/arm/as3525/sansa-clipzip/lcd-clipzip.c
@@ -38,7 +38,7 @@ static int lcd_hw_init(void)
{
/* configure SSP */
bitset32(&CGU_PERI, CGU_SSP_CLOCK_ENABLE);
- SSP_CPSR = 8; /* TODO: use AS3525_SSP_PRESCALER, OF uses 8 */
+ SSP_CPSR = 4; /* TODO: use AS3525_SSP_PRESCALER, OF uses 8 */
SSP_CR0 = (0 << 8) | /* SCR, serial clock rate divider = 1 */
(1 << 7) | /* SPH, phase = 1 */
(1 << 6) | /* SPO, polarity = 1 */