forked from len0rd/rockbox
Enable FM presets for iriver. Add a preset via the "add" option in the radio menu, and press ON/PLAY button to bring up the list of presets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7540 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ccdae5dbe4
commit
025873b3ac
1 changed files with 5 additions and 1 deletions
|
|
@ -71,6 +71,7 @@
|
|||
#define FM_PRESET_ACTION BUTTON_F3
|
||||
#elif CONFIG_KEYPAD == IRIVER_H100_PAD
|
||||
#define FM_MENU BUTTON_MODE
|
||||
#define FM_PRESET BUTTON_ON
|
||||
#define FM_STOP BUTTON_OFF
|
||||
#define FM_EXIT_PRE BUTTON_SELECT
|
||||
#define FM_EXIT (BUTTON_SELECT | BUTTON_REL)
|
||||
|
|
@ -969,8 +970,11 @@ bool radio_menu(void)
|
|||
bool result;
|
||||
|
||||
static const struct menu_item items[] = {
|
||||
#if CONFIG_KEYPAD == ONDIO_PAD /* Ondio has no key for presets, put it in menu */
|
||||
/* Add functions not accessible via buttons */
|
||||
#ifndef FM_PRESET
|
||||
{ ID2P(LANG_FM_BUTTONBAR_PRESETS), handle_radio_presets },
|
||||
#endif
|
||||
#ifndef FM_PRESET_ADD
|
||||
{ ID2P(LANG_FM_BUTTONBAR_ADD) , radio_add_preset },
|
||||
#endif
|
||||
{ monomode_menu_string , toggle_mono_mode },
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue