mirror of
https://github.com/apache/nuttx.git
synced 2026-05-26 10:46:28 +08:00
esp32_spiflash.c: Fix preprocessor condition.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
f9fb182809
commit
685c2ce506
@@ -536,7 +536,7 @@ static void IRAM_ATTR spiflash_flushmapped(size_t start, size_t size)
|
||||
esp_spiram_writeback_cache();
|
||||
#endif
|
||||
Cache_Flush(0);
|
||||
#ifndef CONFIG_SMP
|
||||
#ifdef CONFIG_SMP
|
||||
Cache_Flush(1);
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user