diff options
author | Alexander Levin <al.le@rockbox.org> | 2009-09-13 08:29:41 +0000 |
---|---|---|
committer | Alexander Levin <al.le@rockbox.org> | 2009-09-13 08:29:41 +0000 |
commit | 94b0edb0db1bb22e9625bb558c67e31acbac7f58 (patch) | |
tree | 001332790f08a92eef5d6825ecc4f8e674cffcab | |
parent | e90ac6766e14a316cac1d0a86d19df09d02c9391 (diff) | |
download | rockbox-94b0edb0db1bb22e9625bb558c67e31acbac7f58.tar.gz rockbox-94b0edb0db1bb22e9625bb558c67e31acbac7f58.zip |
Another take at quitting with an error message
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22691 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/plugins/bitmaps/native/SOURCES | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/plugins/bitmaps/native/SOURCES b/apps/plugins/bitmaps/native/SOURCES index 2eab01f570..5ceabbcbb6 100644 --- a/apps/plugins/bitmaps/native/SOURCES +++ b/apps/plugins/bitmaps/native/SOURCES @@ -827,6 +827,10 @@ rockboxlogo.91x32x1.bmp #endif /* Pitch detector */ +/* 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)) #if (LCD_WIDTH >= 320) && (LCD_HEIGHT >= 240) && (LCD_DEPTH >= 16) pitch_notes.320x240x16.bmp #elif (LCD_WIDTH >= 220) && (LCD_HEIGHT >= 176) && (LCD_DEPTH >= 16) @@ -845,9 +849,10 @@ pitch_notes.160x128x2.bmp pitch_notes.132x80x16.bmp #elif (LCD_WIDTH >= 128) && (LCD_HEIGHT >= 96) && (LCD_DEPTH >= 2) pitch_notes.128x96x2.bmp -#elif (LCD_WIDTH >= 112) && (LCD_HEIGHT >= 64) && (LCD_DEPTH >= 1) -/* There isn't a target currently with this screen and recording ability */ +#else +#error Pitch Detector: unsupported LCD #endif +#endif /* Complex condition for pitch detector */ #endif /* HAVE_LCD_BITMAP */ |