summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2012-01-26 23:59:23 +0100
committerThomas Martitz <kugel@rockbox.org>2012-01-27 09:15:05 +0100
commit7013d0c48da6db654a1d51f23ceae95aa4c2b111 (patch)
tree74fe761e3c85e5337012141d4e3bfbd22b74dd9b /apps/plugins
parentfab7264b3b4d6bef1ae3d181693fd37a558df918 (diff)
downloadrockbox-7013d0c48da6db654a1d51f23ceae95aa4c2b111.zip
rockbox-7013d0c48da6db654a1d51f23ceae95aa4c2b111.tar.gz
rockbox-7013d0c48da6db654a1d51f23ceae95aa4c2b111.tar.bz2
rockbox-7013d0c48da6db654a1d51f23ceae95aa4c2b111.tar.xz
application: Enable chipper and fft plugins.
They force grid mode but don't need graphics so good enough for now. Change-Id: I711a1a22f1866ed25196614f343ab51967bf3a4b
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/SOURCES.app_build1
-rw-r--r--apps/plugins/SUBDIRS.app_build4
-rw-r--r--apps/plugins/chopper.c2
-rw-r--r--apps/plugins/fft/fft.c2
4 files changed, 7 insertions, 2 deletions
diff --git a/apps/plugins/SOURCES.app_build b/apps/plugins/SOURCES.app_build
index e374062..8a94e67 100644
--- a/apps/plugins/SOURCES.app_build
+++ b/apps/plugins/SOURCES.app_build
@@ -3,6 +3,7 @@
#include "SOURCES"
#else
/* plugins common to all models */
+chopper.c
credits.c
properties.c
random_folder_advance_config.c
diff --git a/apps/plugins/SUBDIRS.app_build b/apps/plugins/SUBDIRS.app_build
index 0e02857..32fda68 100644
--- a/apps/plugins/SUBDIRS.app_build
+++ b/apps/plugins/SUBDIRS.app_build
@@ -8,6 +8,10 @@
*/
#ifdef HAVE_LCD_BITMAP
+#if CONFIG_CODEC == SWCODEC && PLUGIN_BUFFER_SIZE > 0x20000
+fft
+#endif
+
#ifdef HAVE_TAGCACHE
pictureflow
#endif
diff --git a/apps/plugins/chopper.c b/apps/plugins/chopper.c
index d819da4..b2c3653 100644
--- a/apps/plugins/chopper.c
+++ b/apps/plugins/chopper.c
@@ -180,7 +180,7 @@ CONFIG_KEYPAD == MROBE500_PAD
#define ACTION BUTTON_SELECT
#define ACTIONTEXT "SELECT"
-#else
+#elif !defined(HAVE_TOUCHSCREEN)
#error No keymap defined!
#endif
diff --git a/apps/plugins/fft/fft.c b/apps/plugins/fft/fft.c
index b2ef8d8..1c4e1b4 100644
--- a/apps/plugins/fft/fft.c
+++ b/apps/plugins/fft/fft.c
@@ -266,7 +266,7 @@ GREY_INFO_STRUCT
# define FFT_FREQ_SCALE BUTTON_DOWN
# define FFT_QUIT BUTTON_BACK
-#else
+#elif !defined(HAVE_TOUCHSCREEN)
#error No keymap defined!
#endif