diff options
| author | Damien George <damien.p.george@gmail.com> | 2016-05-13 11:23:32 +0100 |
|---|---|---|
| committer | Damien George <damien.p.george@gmail.com> | 2016-05-13 11:23:32 +0100 |
| commit | 1e388079f9ff7e24adb4592b3c81aed314f86827 (patch) | |
| tree | 0b4fc849e703e8ec7550c985dcb5f8dda908f0c7 | |
| parent | 1dc2862a837a08c6aa96fb369657be21043015ad (diff) | |
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().
| -rw-r--r-- | stmhal/i2c.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/stmhal/i2c.h b/stmhal/i2c.h index 849d3987c..a159935e6 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); |
