mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
esp32_spiflash.c: Correctly disable APP's CPU cache.
Signed-off-by: Abdelatif Guettouche <abdelatif.guettouche@espressif.com>
This commit is contained in:
committed by
Alan Carvalho de Assis
parent
eaf50cd06b
commit
15b68b9abb
@@ -426,7 +426,7 @@ static inline void IRAM_ATTR
|
|||||||
|
|
||||||
spi_disable_cache(state->cpu, &state->val[state->cpu]);
|
spi_disable_cache(state->cpu, &state->val[state->cpu]);
|
||||||
#ifdef CONFIG_SMP
|
#ifdef CONFIG_SMP
|
||||||
spi_disable_cache(state->cpu, &state->val[other]);
|
spi_disable_cache(other, &state->val[other]);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user