diff options
Diffstat (limited to 'firmware/target')
-rw-r--r-- | firmware/target/coldfire/iriver/h100/sw_i2c-h100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/target/coldfire/iriver/h100/sw_i2c-h100.c b/firmware/target/coldfire/iriver/h100/sw_i2c-h100.c index cb061875e0..49db2b621d 100644 --- a/firmware/target/coldfire/iriver/h100/sw_i2c-h100.c +++ b/firmware/target/coldfire/iriver/h100/sw_i2c-h100.c | |||
@@ -42,7 +42,7 @@ | |||
42 | #define SDA_HI and_l(~0x00002000, &GPIO1_ENABLE) | 42 | #define SDA_HI and_l(~0x00002000, &GPIO1_ENABLE) |
43 | 43 | ||
44 | /* delay loop to achieve 400kHz at 120MHz CPU frequency */ | 44 | /* delay loop to achieve 400kHz at 120MHz CPU frequency */ |
45 | #define DELAY do { int _x; for(_x=0;_x<22;_x++);} while(0) | 45 | #define DELAY do { volatile int _x; for(_x=0;_x<22;_x++);} while(0) |
46 | 46 | ||
47 | void sw_i2c_init(void) | 47 | void sw_i2c_init(void) |
48 | { | 48 | { |