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 a2f3ad5d9fa9dc67cea4c4b1c1618146b9645f95 Author: YAMAMOTO Takashi <yamam...@midokura.com> AuthorDate: Sat Nov 28 10:25:25 2020 +0900 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 d756e85..e17a7f6 100644 --- a/boards/arm/lpc214x/zp214xpa/src/lpc2148_ug2864ambag01.c +++ b/boards/arm/lpc214x/zp214xpa/src/lpc2148_ug2864ambag01.c @@ -40,6 +40,7 @@ #include <nuttx/config.h> #include <debug.h> +#include <inttypes.h> #include <nuttx/board.h> #include <nuttx/spi/spi.h> @@ -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 */