boards/arm/lpc214x/zp214xpa/src/lpc2148_ug2864ambag01.c: Fix syslog formats
This commit is contained in:
parent
571f31c672
commit
a2f3ad5d9f
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue