Skip to content

Commit 14105ff

Browse files
committed
stm32/machine_i2c: Enable timingr constructor keyword on H7 MCUs.
Signed-off-by: Damien George <damien@micropython.org>
1 parent a0dae1d commit 14105ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/stm32/machine_i2c.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ STATIC void machine_hard_i2c_init(machine_hard_i2c_obj_t *self, uint32_t freq, u
186186
/******************************************************************************/
187187
/* MicroPython bindings for machine API */
188188

189-
#if defined(STM32F0) || defined(STM32F7)
189+
#if defined(STM32F0) || defined(STM32F7) || defined(STM32H7)
190190
#define MACHINE_I2C_TIMINGR (1)
191191
#else
192192
#define MACHINE_I2C_TIMINGR (0)

0 commit comments

Comments
 (0)