summaryrefslogtreecommitdiffstats
path: root/firmware
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-23 09:22:03 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-23 09:22:03 +0000
commitf5988d4fbd7150e59f0ea9e4f3f0bd61bbcb0bf9 (patch)
tree86e928852dedea8b204358b282ebd7dbc19cbee3 /firmware
parente4972b08f7600c7fb6bff0d9c622e27307c9ce34 (diff)
downloadrockbox-f5988d4fbd7150e59f0ea9e4f3f0bd61bbcb0bf9.tar.gz
rockbox-f5988d4fbd7150e59f0ea9e4f3f0bd61bbcb0bf9.tar.bz2
rockbox-f5988d4fbd7150e59f0ea9e4f3f0bd61bbcb0bf9.zip
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/target/arm/as3525/debug-as3525.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/arm/as3525/debug-as3525.c b/firmware/target/arm/as3525/debug-as3525.c
index 4d4373fc04..a32eb3735a 100644
--- a/firmware/target/arm/as3525/debug-as3525.c
+++ b/firmware/target/arm/as3525/debug-as3525.c
@@ -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: