fix nx style warnings and errors
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
This commit is contained in:
parent
6439d1b976
commit
52416888f7
@ -65,6 +65,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stddef.h>
|
||||
@ -1251,7 +1252,8 @@ static uint32_t imxrt_lpspi_send(FAR struct spi_dev_s *dev, uint32_t wd)
|
||||
|
||||
regval = imxrt_lpspi_getreg32(priv, IMXRT_LPSPI_SR_OFFSET);
|
||||
|
||||
spiinfo("Sent: %04x Return: %04x Status: %02x\n", wd, ret, regval);
|
||||
spiinfo("Sent: %04" PRIx32 " Return: %04" PRIx32 " Status: %02" PRIx32 "\n",
|
||||
wd, ret, regval);
|
||||
|
||||
UNUSED(regval);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user