aboutsummaryrefslogtreecommitdiffstats
path: root/testhal
diff options
context:
space:
mode:
Diffstat (limited to 'testhal')
-rw-r--r--testhal/STM32/I2C/i2c_pns.c12
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,
};