From 8596fdd0bfc664bc9284b578245c6ef07d83fa8a Mon Sep 17 00:00:00 2001 From: David Sidrane Date: Thu, 20 May 2021 12:35:25 -0700 Subject: [PATCH] stm32h7:i2c use inttypes --- arch/arm/src/stm32h7/stm32_i2c.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/stm32h7/stm32_i2c.c b/arch/arm/src/stm32h7/stm32_i2c.c index c0b3064783..cfc1e60738 100644 --- a/arch/arm/src/stm32h7/stm32_i2c.c +++ b/arch/arm/src/stm32h7/stm32_i2c.c @@ -886,8 +886,8 @@ 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: 0x%08x\n", - priv->intstate, (long)elapsed, (long)timeout, priv->status); + i2cinfo("intstate: %d elapsed: %ld threshold: %ld status: 0x%08" PRIx32 + "\n", priv->intstate, (long)elapsed, (long)timeout, priv->status); /* Set the interrupt state back to IDLE */