mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
Currently, s_mxic_set_required_regs() lacks checking for CONFIG_SPI_FLASH_SUPPORT_MXIC_OPI_CHIP. And this causes a defined but not used warning when MXIC flash driver is disabled in project config. So add a #if check for this to supress warning. Signed-off-by: Shengyu Qu <wiagn@4d2.org>
See the spi_flash.rst in the programming guide folder for more details.