From 5a610e5e55d4a68c7ad91fbd557e1c2f35b66837 Mon Sep 17 00:00:00 2001 From: funman Date: Tue, 18 May 2010 12:46:44 +0000 Subject: [PATCH] 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 --- apps/plugins/fft/fft.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c index acc19fabe..89c764a65 100644 --- a/apps/plugins/fft/fft.c +++ b/apps/plugins/fft/fft.c @@ -272,11 +272,7 @@ static kiss_fft_cpx output[ARRAYSIZE_OUT]; static int32_t plot[ARRAYSIZE_PLOT]; static char buffer[BUFSIZE]; -#if LCD_DEPTH > 1 /* greyscale or color, enable spectrogram */ #define MODES_COUNT 3 -#else -#define MODES_COUNT 2 -#endif const unsigned char* modes_text[] = { "Lines", "Bars", "Spectrogram" }; const unsigned char* scales_text[] = { "Linear scale", "Logarithmic scale" }; -- 2.11.4.GIT