arch/xtensa/src/esp32/esp32_spi.c: Fix a syslog format
This commit is contained in:
parent
a88dcb3b77
commit
a24f66f31f
@ -27,6 +27,7 @@
|
|||||||
#ifdef CONFIG_ESP32_SPI
|
#ifdef CONFIG_ESP32_SPI
|
||||||
|
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
@ -586,7 +587,8 @@ static void esp32_spi_select(FAR struct spi_dev_s *dev,
|
|||||||
esp32_gpiowrite(priv->config->cs_pin, value);
|
esp32_gpiowrite(priv->config->cs_pin, value);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
spiinfo("devid: %08lx CS: %s\n", devid, selected ? "select" : "free");
|
spiinfo("devid: %08" PRIx32 " CS: %s\n",
|
||||||
|
devid, selected ? "select" : "free");
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user