xtensa/esp32: Fix warning "is not defined"
Detected with "-Werror" flag
This commit is contained in:
parent
e37ce7677b
commit
ccc8c078f9
@ -67,9 +67,9 @@
|
||||
|
||||
/* Let's to assume SPIFLASH SPEED == SPIRAM SPEED for now */
|
||||
|
||||
#if CONFIG_ESP32_SPIRAM_SPEED_40M
|
||||
#if defined(CONFIG_ESP32_SPIRAM_SPEED_40M)
|
||||
# define PSRAM_SPEED PSRAM_CACHE_F40M_S40M
|
||||
#elif CONFIG_ESP32_SPIRAM_SPEED_80M
|
||||
#elif defined(CONFIG_ESP32_SPIRAM_SPEED_80M)
|
||||
# define PSRAM_SPEED PSRAM_CACHE_F80M_S80M
|
||||
#else
|
||||
# error "FLASH speed can only be equal to or higher than SRAM speed while SRAM is enabled!"
|
||||
|
Loading…
Reference in New Issue
Block a user