arch/arm/src/stm32f7/stm32_i2c.c: Appease nxstyle

This commit is contained in:
YAMAMOTO Takashi 2020-11-22 20:04:16 +09:00 committed by Xiang Xiao
parent 97729ddd29
commit c261afd38c

View File

@ -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
}