diff options
Diffstat (limited to 'apps/plugins/fft')
-rw-r--r-- | apps/plugins/fft/fft.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c index 11bdfc8e74..89205503e7 100644 --- a/apps/plugins/fft/fft.c +++ b/apps/plugins/fft/fft.c | |||
@@ -1249,7 +1249,7 @@ static void fft_thread_entry(void) | |||
1249 | } | 1249 | } |
1250 | 1250 | ||
1251 | /* write back output for other processor and invalidate for next frame read */ | 1251 | /* write back output for other processor and invalidate for next frame read */ |
1252 | rb->cpucache_invalidate(); | 1252 | rb->commit_discard_dcache(); |
1253 | 1253 | ||
1254 | int new_tail = output_tail ^ 1; | 1254 | int new_tail = output_tail ^ 1; |
1255 | 1255 | ||
@@ -1311,7 +1311,7 @@ static void fft_close_fft(void) | |||
1311 | /* Handle our FFT thread. */ | 1311 | /* Handle our FFT thread. */ |
1312 | fft_thread_run = false; | 1312 | fft_thread_run = false; |
1313 | rb->thread_wait(fft_thread); | 1313 | rb->thread_wait(fft_thread); |
1314 | rb->cpucache_invalidate(); | 1314 | rb->commit_discard_dcache(); |
1315 | } | 1315 | } |
1316 | #else /* NUM_CORES == 1 */ | 1316 | #else /* NUM_CORES == 1 */ |
1317 | /* everything serialize on single-core and FFT gets to use IRAM main stack if | 1317 | /* everything serialize on single-core and FFT gets to use IRAM main stack if |