arch/arm/src/stm32/stm32_i2c_v2.c: Appease nxstyle
This commit is contained in:
parent
bd1a586838
commit
6e1a504fc5
@ -1064,7 +1064,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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user