esp32_spiflash.c: Fix preprocessor condition.

Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
Abdelatif Guettouche
2021-02-05 13:57:53 +01:00
committed by Alan Carvalho de Assis
parent f9fb182809
commit 685c2ce506
+1 -1
View File
@@ -536,7 +536,7 @@ static void IRAM_ATTR spiflash_flushmapped(size_t start, size_t size)
esp_spiram_writeback_cache(); esp_spiram_writeback_cache();
#endif #endif
Cache_Flush(0); Cache_Flush(0);
#ifndef CONFIG_SMP #ifdef CONFIG_SMP
Cache_Flush(1); Cache_Flush(1);
#endif #endif
} }