summaryrefslogtreecommitdiff
path: root/apps/menus/main_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/menus/main_menu.c')
-rw-r--r--apps/menus/main_menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c
index 52d4d6116a..9a618e2e33 100644
--- a/apps/menus/main_menu.c
+++ b/apps/menus/main_menu.c
@@ -30,7 +30,7 @@
30#include "settings_menu.h" 30#include "settings_menu.h"
31#include "exported_menus.h" 31#include "exported_menus.h"
32#include "tree.h" 32#include "tree.h"
33#ifdef CONFIG_TUNER 33#if CONFIG_TUNER
34#include "radio.h" 34#include "radio.h"
35#endif 35#endif
36#ifdef HAVE_RECORDING 36#ifdef HAVE_RECORDING
@@ -386,7 +386,7 @@ MENUITEM_FUNCTION_WPARAM(browse_themes, ID2P(LANG_CUSTOM_THEME),
386MENUITEM_FUNCTION_WPARAM(browse_plugins, ID2P(LANG_PLUGINS), 386MENUITEM_FUNCTION_WPARAM(browse_plugins, ID2P(LANG_PLUGINS),
387 browse_folder, (void*)&rocks, NULL, bitmap_icons_6x8[Icon_Plugin]); 387 browse_folder, (void*)&rocks, NULL, bitmap_icons_6x8[Icon_Plugin]);
388 388
389#ifdef CONFIG_TUNER 389#if CONFIG_TUNER
390MENUITEM_FUNCTION(load_radio_screen, ID2P(LANG_FM_RADIO), 390MENUITEM_FUNCTION(load_radio_screen, ID2P(LANG_FM_RADIO),
391 (menu_function)radio_screen, dynamicitem_callback, 391 (menu_function)radio_screen, dynamicitem_callback,
392 bitmap_icons_6x8[Icon_Radio_screen]); 392 bitmap_icons_6x8[Icon_Radio_screen]);
@@ -428,7 +428,7 @@ MAKE_MENU(main_menu_, "Rockbox Main Menu", mainmenu_callback,
428 bitmap_icons_6x8[Icon_Submenu_Entered], 428 bitmap_icons_6x8[Icon_Submenu_Entered],
429 &mrb_bookmarks, &sound_settings, 429 &mrb_bookmarks, &sound_settings,
430 &settings_menu_item, &manage_settings, &browse_themes, 430 &settings_menu_item, &manage_settings, &browse_themes,
431#ifdef CONFIG_TUNER 431#if CONFIG_TUNER
432 &load_radio_screen, 432 &load_radio_screen,
433#endif 433#endif
434#ifdef HAVE_RECORDING 434#ifdef HAVE_RECORDING
@@ -449,7 +449,7 @@ int dynamicitem_callback(int action,const struct menu_item_ex *this_item)
449 if (action != ACTION_ENTER_MENUITEM) 449 if (action != ACTION_ENTER_MENUITEM)
450 return action; 450 return action;
451 451
452#ifdef CONFIG_TUNER 452#if CONFIG_TUNER
453 if (this_item == &load_radio_screen) 453 if (this_item == &load_radio_screen)
454 { 454 {
455 if (radio_hardware_present() == 0) 455 if (radio_hardware_present() == 0)