summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/fft/fft.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index 2f3b12289d..b6b1e2fead 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -1226,10 +1226,9 @@ static void fft_thread_entry(void)
1226 continue; 1226 continue;
1227 } 1227 }
1228 1228
1229#if NUM_CORES > 1
1230 /* write back output for other processor and invalidate for next frame read */ 1229 /* write back output for other processor and invalidate for next frame read */
1231 rb->cpucache_invalidate(); 1230 rb->cpucache_invalidate();
1232#endif 1231
1233 int new_tail = output_tail ^ 1; 1232 int new_tail = output_tail ^ 1;
1234 1233
1235 /* if full, block waiting until reader has freed a slot */ 1234 /* if full, block waiting until reader has freed a slot */
@@ -1290,9 +1289,7 @@ static void fft_close_fft(void)
1290 /* Handle our FFT thread. */ 1289 /* Handle our FFT thread. */
1291 fft_thread_run = false; 1290 fft_thread_run = false;
1292 rb->thread_wait(fft_thread); 1291 rb->thread_wait(fft_thread);
1293#if NUM_CORES > 1
1294 rb->cpucache_invalidate(); 1292 rb->cpucache_invalidate();
1295#endif
1296} 1293}
1297#else /* NUM_CORES == 1 */ 1294#else /* NUM_CORES == 1 */
1298/* everything serialize on single-core and FFT gets to use IRAM main stack if 1295/* everything serialize on single-core and FFT gets to use IRAM main stack if