diff --git a/arch/arm/src/stm32f7/stm32_i2c.c b/arch/arm/src/stm32f7/stm32_i2c.c index d6a29485b6..53c74c7ca2 100644 --- a/arch/arm/src/stm32f7/stm32_i2c.c +++ b/arch/arm/src/stm32f7/stm32_i2c.c @@ -1102,7 +1102,8 @@ static inline void stm32_i2c_sem_init(FAR struct i2c_master_s *dev) */ nxsem_init(&((struct stm32_i2c_inst_s *)dev)->priv->sem_isr, 0, 0); - nxsem_set_protocol(&((struct stm32_i2c_inst_s *)dev)->priv->sem_isr, SEM_PRIO_NONE); + nxsem_set_protocol(&((struct stm32_i2c_inst_s *)dev)->priv->sem_isr, + SEM_PRIO_NONE); #endif }