summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
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)