stm32f7:i2c use inttypes
This commit is contained in:
parent
8596fdd0bf
commit
86523318fc
|
@ -927,8 +927,8 @@ static inline int stm32_i2c_sem_waitdone(FAR struct stm32_i2c_priv_s *priv)
|
||||||
|
|
||||||
while (priv->intstate != INTSTATE_DONE && elapsed < timeout);
|
while (priv->intstate != INTSTATE_DONE && elapsed < timeout);
|
||||||
|
|
||||||
i2cinfo("intstate: %d elapsed: %ld threshold: %ld status: 0x%08x\n",
|
i2cinfo("intstate: %d elapsed: %ld threshold: %ld status: 0x%08" PRIx32
|
||||||
priv->intstate, (long)elapsed, (long)timeout, priv->status);
|
"\n", priv->intstate, (long)elapsed, (long)timeout, priv->status);
|
||||||
|
|
||||||
/* Set the interrupt state back to IDLE */
|
/* Set the interrupt state back to IDLE */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue