arch/arm/src/stm32f7/stm32_sai.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi
2020-11-29 16:25:04 +09:00
committed by Xiang Xiao
parent f3712d2b8c
commit 66bca4865c
+3 -2
View File
@@ -41,6 +41,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdbool.h>
#include <errno.h>
@@ -1254,7 +1255,7 @@ static int sai_receive(struct i2s_dev_s *dev, struct ap_buffer_s *apb,
int ret;
DEBUGASSERT(priv && apb);
i2sinfo("apb=%p nbytes=%d arg=%p timeout=%d\n",
i2sinfo("apb=%p nbytes=%d arg=%p timeout=%" PRId32 "\n",
apb, apb->nbytes - apb->curbyte, arg, timeout);
/* Allocate a buffer container in advance */
@@ -1354,7 +1355,7 @@ static int sai_send(struct i2s_dev_s *dev, struct ap_buffer_s *apb,
int ret;
DEBUGASSERT(priv && apb);
i2sinfo("apb=%p nbytes=%d arg=%p timeout=%d\n",
i2sinfo("apb=%p nbytes=%d arg=%p timeout=%" PRId32 "\n",
apb, apb->nbytes - apb->curbyte, arg, timeout);
/* Allocate a buffer container in advance */