summaryrefslogtreecommitdiff
path: root/apps/main_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/main_menu.c')
-rw-r--r--apps/main_menu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/main_menu.c b/apps/main_menu.c
index d642fc56fe..d47fc5148e 100644
--- a/apps/main_menu.c
+++ b/apps/main_menu.c
@@ -46,13 +46,13 @@
46#include "screens.h" 46#include "screens.h"
47#include "playlist_menu.h" 47#include "playlist_menu.h"
48#include "talk.h" 48#include "talk.h"
49#ifdef HAVE_FMRADIO 49#ifdef CONFIG_TUNER
50#include "radio.h" 50#include "radio.h"
51#endif 51#endif
52#include "misc.h" 52#include "misc.h"
53#include "lang.h" 53#include "lang.h"
54 54
55#ifdef HAVE_MAS3587F 55#if CONFIG_HWCODEC == MAS3587F
56#include "recording.h" 56#include "recording.h"
57#endif 57#endif
58 58
@@ -263,14 +263,14 @@ static bool plugin_browse(void)
263 return rockbox_browse(PLUGIN_DIR, SHOW_PLUGINS); 263 return rockbox_browse(PLUGIN_DIR, SHOW_PLUGINS);
264} 264}
265 265
266#ifdef HAVE_MAS3587F 266#if CONFIG_HWCODEC == MAS3587F
267static bool recording_settings(void) 267static bool recording_settings(void)
268{ 268{
269 return recording_menu(false); 269 return recording_menu(false);
270} 270}
271#endif 271#endif
272 272
273#ifdef HAVE_MAS3587F 273#if CONFIG_HWCODEC == MAS3587F
274 274
275bool rec_menu(void) 275bool rec_menu(void)
276{ 276{
@@ -335,14 +335,14 @@ bool main_menu(void)
335 items[i].desc = ID2P(LANG_GENERAL_SETTINGS); 335 items[i].desc = ID2P(LANG_GENERAL_SETTINGS);
336 items[i++].function = settings_menu; 336 items[i++].function = settings_menu;
337 337
338#ifdef HAVE_FMRADIO 338#ifdef CONFIG_TUNER
339 if(radio_hardware_present()) { 339 if(radio_hardware_present()) {
340 items[i].desc = ID2P(LANG_FM_RADIO); 340 items[i].desc = ID2P(LANG_FM_RADIO);
341 items[i++].function = radio_screen; 341 items[i++].function = radio_screen;
342 } 342 }
343#endif 343#endif
344 344
345#ifdef HAVE_MAS3587F 345#if CONFIG_HWCODEC == MAS3587F
346 items[i].desc = ID2P(LANG_RECORDING); 346 items[i].desc = ID2P(LANG_RECORDING);
347 items[i++].function = rec_menu; 347 items[i++].function = rec_menu;
348#endif 348#endif