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().
This commit is contained in:
Damien George 2016-05-13 11:23:32 +01:00
parent 1dc2862a83
commit 1e388079f9
1 changed files with 1 additions and 0 deletions

View File

@ -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);