diff options
author | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-18 12:46:44 +0000 |
---|---|---|
committer | Rafaël Carré <rafael.carre@gmail.com> | 2010-05-18 12:46:44 +0000 |
commit | dcbd8d74c6f6af7e91c707c33f807f9d9708cf8c (patch) | |
tree | 15447d9d693ed65cbb21c71714d9b808c74cb324 /apps | |
parent | 279ce89e47117d4069722474c8d5f13c22094235 (diff) | |
download | rockbox-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
Diffstat (limited to 'apps')
-rw-r--r-- | apps/plugins/fft/fft.c | 4 |
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]; | |||
272 | static int32_t plot[ARRAYSIZE_PLOT]; | 272 | static int32_t plot[ARRAYSIZE_PLOT]; |
273 | static char buffer[BUFSIZE]; | 273 | static 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 | ||
281 | const unsigned char* modes_text[] = { "Lines", "Bars", "Spectrogram" }; | 277 | const unsigned char* modes_text[] = { "Lines", "Bars", "Spectrogram" }; |
282 | const unsigned char* scales_text[] = { "Linear scale", "Logarithmic scale" }; | 278 | const unsigned char* scales_text[] = { "Linear scale", "Logarithmic scale" }; |