From 1e388079f9ff7e24adb4592b3c81aed314f86827 Mon Sep 17 00:00:00 2001 From: Damien George Date: Fri, 13 May 2016 11:23:32 +0100 Subject: [PATCH] stmhal/i2c: Expose I2CHandle3 for use by custom C code. If custom C code uses the I2C busses then it needs access to these structures for i2c_init(). --- stmhal/i2c.h | 1 + 1 file changed, 1 insertion(+) diff --git a/stmhal/i2c.h b/stmhal/i2c.h index 849d3987c4..a159935e6a 100644 --- a/stmhal/i2c.h +++ b/stmhal/i2c.h @@ -29,6 +29,7 @@ extern I2C_HandleTypeDef I2CHandle1; extern I2C_HandleTypeDef I2CHandle2; +extern I2C_HandleTypeDef I2CHandle3; extern const mp_obj_type_t pyb_i2c_type; void i2c_init0(void);