mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-13 18:17:39 -04:00
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:
parent
279ce89e47
commit
dcbd8d74c6
1 changed files with 0 additions and 4 deletions
|
@ -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" };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue