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:
Rafaël Carré 2010-03-23 09:22:03 +00:00
parent e4972b08f7
commit f5988d4fbd

View file

@ -167,7 +167,7 @@ static int calc_freq(int clk)
return 0;
}
case CLK_I2C:
return calc_freq(CLK_PCLK)/I2C_PRESCALER;
return calc_freq(CLK_PCLK)/AS3525_I2C_PRESCALER;
case CLK_I2SI:
switch((CGU_AUDIO>>12) & 3) {
case 0: