From 7013d0c48da6db654a1d51f23ceae95aa4c2b111 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Thu, 26 Jan 2012 23:59:23 +0100 Subject: [PATCH] application: Enable chipper and fft plugins. They force grid mode but don't need graphics so good enough for now. Change-Id: I711a1a22f1866ed25196614f343ab51967bf3a4b --- apps/plugins/SOURCES.app_build | 1 + apps/plugins/SUBDIRS.app_build | 4 ++++ apps/plugins/chopper.c | 2 +- apps/plugins/fft/fft.c | 2 +- 4 files changed, 7 insertions(+), 2 deletions(-) diff --git a/apps/plugins/SOURCES.app_build b/apps/plugins/SOURCES.app_build index e374062536..8a94e67a37 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 0e0285741f..32fda68425 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 d819da421b..b2c3653aeb 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 b2ef8d8e33..1c4e1b4c20 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 -- 2.11.4.GIT