forked from len0rd/rockbox
fix previous revision by using correct definition of i2c prescaler
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25304 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e4972b08f7
commit
f5988d4fbd
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ static int calc_freq(int clk)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
case CLK_I2C:
|
case CLK_I2C:
|
||||||
return calc_freq(CLK_PCLK)/I2C_PRESCALER;
|
return calc_freq(CLK_PCLK)/AS3525_I2C_PRESCALER;
|
||||||
case CLK_I2SI:
|
case CLK_I2SI:
|
||||||
switch((CGU_AUDIO>>12) & 3) {
|
switch((CGU_AUDIO>>12) & 3) {
|
||||||
case 0:
|
case 0:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue