mirror of
https://github.com/apache/nuttx.git
synced 2026-05-21 04:52:02 +08:00
arch/arm/src/stm32f7/stm32_sai.c: Fix syslog formats
This commit is contained in:
committed by
Xiang Xiao
parent
f3712d2b8c
commit
66bca4865c
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user