summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-05-18 12:46:44 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-05-18 12:46:44 +0000
commitdcbd8d74c6f6af7e91c707c33f807f9d9708cf8c (patch)
tree15447d9d693ed65cbb21c71714d9b808c74cb324
parent279ce89e47117d4069722474c8d5f13c22094235 (diff)
downloadrockbox-dcbd8d74c6f6af7e91c707c33f807f9d9708cf8c.tar.gz
rockbox-dcbd8d74c6f6af7e91c707c33f807f9d9708cf8c.zip
fft: always enable spectrogram, gray mode works with LCD_DEPTH == 1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26140 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/plugins/fft/fft.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index acc19fabe5..89c764a65e 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -272,11 +272,7 @@ static kiss_fft_cpx output[ARRAYSIZE_OUT];
272static int32_t plot[ARRAYSIZE_PLOT]; 272static int32_t plot[ARRAYSIZE_PLOT];
273static char buffer[BUFSIZE]; 273static char buffer[BUFSIZE];
274 274
275#if LCD_DEPTH > 1 /* greyscale or color, enable spectrogram */
276#define MODES_COUNT 3 275#define MODES_COUNT 3
277#else
278#define MODES_COUNT 2
279#endif
280 276
281const unsigned char* modes_text[] = { "Lines", "Bars", "Spectrogram" }; 277const unsigned char* modes_text[] = { "Lines", "Bars", "Spectrogram" };
282const unsigned char* scales_text[] = { "Linear scale", "Logarithmic scale" }; 278const unsigned char* scales_text[] = { "Linear scale", "Logarithmic scale" };