mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-20 10:32:42 -05:00
Sansa Clip : ignore previous setting of CGU_DBOP (do not use ORR)
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20986 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
58e332390c
commit
1dfeba5702
1 changed files with 1 additions and 1 deletions
|
|
@ -70,7 +70,7 @@
|
||||||
/* DBOP initialisation, do what OF does */
|
/* DBOP initialisation, do what OF does */
|
||||||
static void ams3525_dbop_init(void)
|
static void ams3525_dbop_init(void)
|
||||||
{
|
{
|
||||||
CGU_DBOP |= (1<<3) | (CLK_DIV(AS3525_PCLK_FREQ, AS3525_DBOP_FREQ) - 1);
|
CGU_DBOP = (1<<3) | (CLK_DIV(AS3525_PCLK_FREQ, AS3525_DBOP_FREQ) - 1);
|
||||||
|
|
||||||
GPIOB_AFSEL = 0x08; /* DBOP on pin 3 */
|
GPIOB_AFSEL = 0x08; /* DBOP on pin 3 */
|
||||||
GPIOC_AFSEL = 0x0f; /* DBOP on pins 3:0 */
|
GPIOC_AFSEL = 0x0f; /* DBOP on pins 3:0 */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue