diff --git a/boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c b/boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c index fc88567429..899479c89f 100644 --- a/boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c +++ b/boards/xtensa/esp32s3/esp32s3-devkit/src/esp32s3_bringup.c @@ -243,7 +243,7 @@ int esp32s3_bringup(void) #ifdef CONFIG_ESP32S3_SPIFLASH ret = board_spiflash_init(); - if (ret) + if (ret < 0) { syslog(LOG_ERR, "ERROR: Failed to initialize SPI Flash\n"); }