mirror of
https://github.com/apache/nuttx.git
synced 2026-09-07 09:26:38 +00:00
arch/arm/src/stm32/stm32f40xxx_i2c.c: Fix a syslog format
This commit is contained in:
parent
4da2eef7d2
commit
be4ce99410
1 changed files with 1 additions and 1 deletions
|
|
@ -716,7 +716,7 @@ static inline int stm32_i2c_sem_waitdone(FAR struct stm32_i2c_priv_s *priv)
|
|||
|
||||
while (priv->intstate != INTSTATE_DONE && elapsed < timeout);
|
||||
|
||||
i2cinfo("intstate: %d elapsed: %ld threshold: %ld status: %08x\n",
|
||||
i2cinfo("intstate: %d elapsed: %ld threshold: %ld status: %08" PRIx32 "\n",
|
||||
priv->intstate, (long)elapsed, (long)timeout, priv->status);
|
||||
|
||||
/* Set the interrupt state back to IDLE */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue