summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2010-03-29 20:23:57 +0000
committerRafaël Carré <rafael.carre@gmail.com>2010-03-29 20:23:57 +0000
commit6a25a33b4bd39c256ea2295f549ad96c47609d8d (patch)
treebc994ec279700664e15619e4ff42b52ad813d53f /apps
parenta262e3cf4a4c1b1ae52613d0b9fd3c593865b465 (diff)
downloadrockbox-6a25a33b4bd39c256ea2295f549ad96c47609d8d.tar.gz
rockbox-6a25a33b4bd39c256ea2295f549ad96c47609d8d.tar.bz2
rockbox-6a25a33b4bd39c256ea2295f549ad96c47609d8d.zip
pitch_detector plugin only works on color LCDs
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25387 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/SOURCES2
-rw-r--r--apps/plugins/bitmaps/native/SOURCES2
2 files changed, 2 insertions, 2 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)