diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-02-21 14:54:08 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-02-21 14:54:08 +0000 |
commit | 6cc07f146636e4e3f5622dd88ee7e3cb6a7ea386 (patch) | |
tree | 4eccfbb2276323df4a1cf89cb7b350751a73977e | |
parent | a18e1312820d5ac31579087533ab9b6af5cc329e (diff) |
FFT plugin: remove redundant NUM_CORES checks.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29366 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/fft/fft.c | 5 |
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) continue; } -#if NUM_CORES > 1 /* write back output for other processor and invalidate for next frame read */ rb->cpucache_invalidate(); -#endif + int new_tail = output_tail ^ 1; /* if full, block waiting until reader has freed a slot */ @@ -1290,9 +1289,7 @@ static void fft_close_fft(void) /* Handle our FFT thread. */ fft_thread_run = false; rb->thread_wait(fft_thread); -#if NUM_CORES > 1 rb->cpucache_invalidate(); -#endif } #else /* NUM_CORES == 1 */ /* everything serialize on single-core and FFT gets to use IRAM main stack if |