mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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
This commit is contained in:
parent
bf51af7f7a
commit
d78e05c572
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue