From 6a25a33b4bd39c256ea2295f549ad96c47609d8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafa=C3=ABl=20Carr=C3=A9?= Date: Mon, 29 Mar 2010 20:23:57 +0000 Subject: [PATCH] pitch_detector plugin only works on color LCDs git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25387 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/SOURCES | 2 +- apps/plugins/bitmaps/native/SOURCES | 2 +- manual/plugins/main.tex | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/plugins/SOURCES b/apps/plugins/SOURCES index 88ddff5e29..a74b8be537 100644 --- a/apps/plugins/SOURCES +++ b/apps/plugins/SOURCES @@ -39,7 +39,7 @@ crypt_firmware.c #endif #if (CONFIG_CODEC == SWCODEC) && defined(HAVE_RECORDING) && \ - (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN)) + (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN)) && defined(HAVE_LCD_COLOR) pitch_detector.c #endif diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index ed8c3c7cc8..f5d61b85f0 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES @@ -844,7 +844,7 @@ rockboxlogo.91x32x1.bmp /* The following preprocessor condition must match the condition */ /* for pitch detector from plugins/SOURCES */ #if (CONFIG_CODEC == SWCODEC) && defined(HAVE_RECORDING) && \ - (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN)) + (defined(HAVE_LINE_IN) || defined(HAVE_MIC_IN)) && defined(HAVE_LCD_COLOR) #if (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) && (LCD_DEPTH >= 16) pitch_notes.320x240x16.bmp #elif (LCD_WIDTH >= 220) && (LCD_HEIGHT >= 176) && (LCD_DEPTH >= 16) diff --git a/manual/plugins/main.tex b/manual/plugins/main.tex index 01e676339d..4952f4e26d 100644 --- a/manual/plugins/main.tex +++ b/manual/plugins/main.tex @@ -228,7 +228,7 @@ option from the \setting{Context Menu} (see \reference{ref:Contextmenu}).} {\input{plugins/metronome.tex}} -\opt{swcodec}{\opt{recording_mic}{\input{plugins/pitch_detector.tex}}} +\opt{swcodec}{\opt{recording_mic}{\opt{lcd_color}{\input{plugins/pitch_detector.tex}}}} {\input{plugins/random_folder_advance_config.tex}}