From a2f3ad5d9fa9dc67cea4c4b1c1618146b9645f95 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 28 Nov 2020 10:25:25 +0900 Subject: [PATCH] boards/arm/lpc214x/zp214xpa/src/lpc2148_ug2864ambag01.c: Fix syslog formats --- boards/arm/lpc214x/zp214xpa/src/lpc2148_ug2864ambag01.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/boards/arm/lpc214x/zp214xpa/src/lpc2148_ug2864ambag01.c b/boards/arm/lpc214x/zp214xpa/src/lpc2148_ug2864ambag01.c index d756e85f6a..e17a7f653d 100644 --- a/boards/arm/lpc214x/zp214xpa/src/lpc2148_ug2864ambag01.c +++ b/boards/arm/lpc214x/zp214xpa/src/lpc2148_ug2864ambag01.c @@ -40,6 +40,7 @@ #include #include +#include #include #include @@ -136,7 +137,8 @@ FAR struct lcd_dev_s *board_graphics_setup(unsigned int devno) regval32 = getreg32(RESET_DIR_REGISTER); putreg32(regval32 | bits32, RESET_DIR_REGISTER); - lcdinfo("RESET Pin Config: PINSEL1: %08x PIN: %08x DIR: %08x\n", + lcdinfo("RESET Pin Config: PINSEL1: %08" PRIx32 + " PIN: %08" PRIx32 " DIR: %08" PRIx32 "\n", getreg32(LPC214X_PINSEL1), getreg32(RESET_PIN_REGISTER), getreg32(RESET_DIR_REGISTER)); @@ -145,7 +147,7 @@ FAR struct lcd_dev_s *board_graphics_setup(unsigned int devno) up_mdelay(20); putreg32(bits32, RESET_SET_REGISTER); - lcdinfo("RESET release: PIN: %08x DIR: %08x\n", + lcdinfo("RESET release: PIN: %08" PRIx32 " DIR: %08" PRIx32 "\n", getreg32(RESET_PIN_REGISTER), getreg32(RESET_DIR_REGISTER)); /* Get the SPI1 port interface */