Skip to content

Commit 1e38807

Browse files
committed
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().
1 parent 1dc2862 commit 1e38807

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

stmhal/i2c.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929

3030
extern I2C_HandleTypeDef I2CHandle1;
3131
extern I2C_HandleTypeDef I2CHandle2;
32+
extern I2C_HandleTypeDef I2CHandle3;
3233
extern const mp_obj_type_t pyb_i2c_type;
3334

3435
void i2c_init0(void);

0 commit comments

Comments
 (0)