Index: apps/menus/sound_menu.c =================================================================== --- apps/menus/sound_menu.c (revision 25316) +++ apps/menus/sound_menu.c (working copy) @@ -137,9 +137,32 @@ MENUITEM_SETTING(speaker_enabled, &global_settings.speaker_enabled, NULL); #endif +#if defined(HAVE_SW_TONE_CONTROLS) && CONFIG_TUNER +/* Disable some items in the FM screen which dont do anything */ +static int soundsettings_callback(int action,const struct menu_item_ex *this_item) +{ + switch (action) + { + case ACTION_REQUEST_MENUITEM: + if (this_item == &bass || +#ifdef HAVE_WM8758 + this_item == &bass_cutoff, +#endif + this_item == &treble ) + { + if (current_screen() == GO_TO_FM) + return ACTION_EXIT_MENUITEM; + } + break; + } + return action; +} +#else +#define soundsettings_callback NULL +#endif - -MAKE_MENU(sound_settings, ID2P(LANG_SOUND_SETTINGS), NULL, Icon_Audio, +MAKE_MENU(sound_settings, ID2P(LANG_SOUND_SETTINGS), + soundsettings_callback, Icon_Audio, &volume, &bass, #ifdef HAVE_WM8758