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
This commit is contained in:
Rafaël Carré 2010-05-18 12:46:44 +00:00
parent 279ce89e47
commit dcbd8d74c6

View file

@ -272,11 +272,7 @@ static kiss_fft_cpx output[ARRAYSIZE_OUT];
static int32_t plot[ARRAYSIZE_PLOT]; static int32_t plot[ARRAYSIZE_PLOT];
static char buffer[BUFSIZE]; static char buffer[BUFSIZE];
#if LCD_DEPTH > 1 /* greyscale or color, enable spectrogram */
#define MODES_COUNT 3 #define MODES_COUNT 3
#else
#define MODES_COUNT 2
#endif
const unsigned char* modes_text[] = { "Lines", "Bars", "Spectrogram" }; const unsigned char* modes_text[] = { "Lines", "Bars", "Spectrogram" };
const unsigned char* scales_text[] = { "Linear scale", "Logarithmic scale" }; const unsigned char* scales_text[] = { "Linear scale", "Logarithmic scale" };