summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/main_menu.c7
-rw-r--r--apps/sound_menu.c4
2 files changed, 4 insertions, 7 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index ea66286e82..6101f4c4e6 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -52,7 +52,7 @@
52#include "misc.h" 52#include "misc.h"
53#include "lang.h" 53#include "lang.h"
54 54
55#if CONFIG_HWCODEC == MAS3587F 55#ifdef HAVE_RECORDING
56#include "recording.h" 56#include "recording.h"
57#endif 57#endif
58 58
@@ -274,14 +274,11 @@ static bool plugin_browse(void)
274 return rockbox_browse(PLUGIN_DIR, SHOW_PLUGINS); 274 return rockbox_browse(PLUGIN_DIR, SHOW_PLUGINS);
275} 275}
276 276
277#if CONFIG_HWCODEC == MAS3587F 277#ifdef HAVE_RECORDING
278static bool recording_settings(void) 278static bool recording_settings(void)
279{ 279{
280 return recording_menu(false); 280 return recording_menu(false);
281} 281}
282#endif
283
284#if CONFIG_HWCODEC == MAS3587F
285 282
286bool rec_menu(void) 283bool rec_menu(void)
287{ 284{
diff --git a/apps/sound_menu.c b/apps/sound_menu.c
index 09e6fb5f28..33bb80faa1 100644
--- a/apps/sound_menu.c
+++ b/apps/sound_menu.c
@@ -246,7 +246,7 @@ static bool avc(void)
246} 246}
247#endif 247#endif
248 248
249#if CONFIG_HWCODEC == MAS3587F 249#ifdef HAVE_RECORDING
250static bool recsource(void) 250static bool recsource(void)
251{ 251{
252 static const struct opt_items names[] = { 252 static const struct opt_items names[] = {
@@ -438,7 +438,7 @@ bool sound_menu(void)
438 return result; 438 return result;
439} 439}
440 440
441#if CONFIG_HWCODEC == MAS3587F 441#ifdef HAVE_RECORDING
442bool recording_menu(bool no_source) 442bool recording_menu(bool no_source)
443{ 443{
444 int m; 444 int m;