You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/27 11:19:46 UTC
[incubator-nuttx] 39/48:
boards/arm/cxd56xx/common/src/cxd56_gs2200m.c: Fix syslog formats
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git
commit edee18be7232b8ff4440a5a1a26f3128c6d2c288
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Nov 27 14:25:05 2020 +0900
boards/arm/cxd56xx/common/src/cxd56_gs2200m.c: Fix syslog formats
---
boards/arm/cxd56xx/common/src/cxd56_gs2200m.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/boards/arm/cxd56xx/common/src/cxd56_gs2200m.c b/boards/arm/cxd56xx/common/src/cxd56_gs2200m.c
index 50108d7..3061d22 100644
--- a/boards/arm/cxd56xx/common/src/cxd56_gs2200m.c
+++ b/boards/arm/cxd56xx/common/src/cxd56_gs2200m.c
@@ -39,6 +39,7 @@
****************************************************************************/
#include <debug.h>
+#include <inttypes.h>
#include <nuttx/arch.h>
#include <nuttx/config.h>
@@ -114,7 +115,8 @@ static void gs2200m_irq_enable(void)
{
irqstate_t flags = enter_critical_section();
- wlinfo("== ec:%d called=%d \n", _enable_count, _n_called++);
+ wlinfo("== ec:%" PRId32 " called=%" PRId32 " \n",
+ _enable_count, _n_called++);
if (0 == _enable_count)
{
@@ -134,7 +136,8 @@ static void gs2200m_irq_disable(void)
{
irqstate_t flags = enter_critical_section();
- wlinfo("== ec:%d called=%d \n", _enable_count, _n_called++);
+ wlinfo("== ec:%" PRId32 " called=%" PRId32 " \n",
+ _enable_count, _n_called++);
_enable_count--;