summaryrefslogtreecommitdiff
path: root/stmhal/i2c.h
diff options
context:
space:
mode:
Diffstat (limited to 'stmhal/i2c.h')
-rw-r--r--stmhal/i2c.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/stmhal/i2c.h b/stmhal/i2c.h
index 32cba4259..00bb744f0 100644
--- a/stmhal/i2c.h
+++ b/stmhal/i2c.h
@@ -1,6 +1,6 @@
-extern I2C_HandleTypeDef I2cHandle_X;
-extern I2C_HandleTypeDef I2cHandle_Y;
+extern I2C_HandleTypeDef I2CHandle1;
+extern I2C_HandleTypeDef I2CHandle2;
extern const mp_obj_type_t pyb_i2c_type;
-void i2c_init(void);
-void i2c_start(I2C_HandleTypeDef *i2c_handle);
+void i2c_init0(void);
+void i2c_init(I2C_HandleTypeDef *i2c);