diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-06-18 11:12:33 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-06-18 11:12:33 +0000 |
commit | 350ae0a1a9721b8889b038cf2fce6a88f1c288e3 (patch) | |
tree | b6871336e93e1ca6af46fd72ffe4147efb88770d /testhal | |
parent | 9e2d63e9dca04b460e36674dcb681d55f8cea5df (diff) | |
download | ChibiOS-350ae0a1a9721b8889b038cf2fce6a88f1c288e3.tar.gz ChibiOS-350ae0a1a9721b8889b038cf2fce6a88f1c288e3.tar.bz2 ChibiOS-350ae0a1a9721b8889b038cf2fce6a88f1c288e3.zip |
I2C. API BROKEN! Structure fields renamed in underscore naming style.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3055 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32/I2C/i2c_pns.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/testhal/STM32/I2C/i2c_pns.c b/testhal/STM32/I2C/i2c_pns.c index 11982d0a7..fe82fcb4e 100644 --- a/testhal/STM32/I2C/i2c_pns.c +++ b/testhal/STM32/I2C/i2c_pns.c @@ -9,18 +9,22 @@ /* I2C1 */
static I2CConfig i2cfg1 = {
- opmodeI2C,
+ OPMODE_I2C,
100000,
- stdDutyCycle,
+ STD_DUTY_CYCLE,
+ 0,
+ 0,
0,
0,
};
/* I2C2 */
static I2CConfig i2cfg2 = {
- opmodeI2C,
+ OPMODE_I2C,
100000,
- stdDutyCycle,
+ STD_DUTY_CYCLE,
+ 0,
+ 0,
0,
0,
};
|