Commit 14105ff5 authored by Damien George's avatar Damien George

stm32/machine_i2c: Enable timingr constructor keyword on H7 MCUs.

Signed-off-by: default avatarDamien George <damien@micropython.org>
parent a0dae1dd
......@@ -186,7 +186,7 @@ STATIC void machine_hard_i2c_init(machine_hard_i2c_obj_t *self, uint32_t freq, u
/******************************************************************************/
/* MicroPython bindings for machine API */
#if defined(STM32F0) || defined(STM32F7)
#if defined(STM32F0) || defined(STM32F7) || defined(STM32H7)
#define MACHINE_I2C_TIMINGR (1)
#else
#define MACHINE_I2C_TIMINGR (0)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment