stm32f7:i2c use inttypes

This commit is contained in:
David Sidrane 2021-05-20 12:35:43 -07:00 committed by Xiang Xiao
parent 8596fdd0bf
commit 86523318fc
1 changed files with 2 additions and 2 deletions

View File

@ -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 */