summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorLinus Nielsen Feltzing <linus@haxx.se>2003-05-04 02:27:42 +0000
committerLinus Nielsen Feltzing <linus@haxx.se>2003-05-04 02:27:42 +0000
commit9d0226fc5fa68fe6bd7a43428fef0ad314750e1d (patch)
tree803f0015a29dde40979b294c066edb24f93b6712 /apps
parentc5dacdcc771d89cd079cd9d61052be3ba9d23f0b (diff)
Moved radio F3 menu to F1
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3649 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/recorder/radio.c17
1 files changed, 9 insertions, 8 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c
index 6fcc982946..8dc14f2493 100644
--- a/apps/recorder/radio.c
+++ b/apps/recorder/radio.c
@@ -58,7 +58,7 @@ static struct fmstation presets[MAX_PRESETS];
void fm_load_presets(void);
bool fm_preset_select(void);
-bool fm_f3_menu(void);
+bool fm_menu(void);
void fm_set_frequency(int freq)
{
@@ -228,16 +228,16 @@ bool radio_screen(void)
settings_save();
break;
- case BUTTON_F2:
- fm_preset_select();
+ case BUTTON_F1:
+ fm_menu();
curr_preset = find_preset(curr_freq);
lcd_clear_display();
lcd_setmargins(0, 8);
status_draw(false);
break;
- case BUTTON_F3:
- fm_f3_menu();
+ case BUTTON_F2:
+ fm_preset_select();
curr_preset = find_preset(curr_freq);
lcd_clear_display();
lcd_setmargins(0, 8);
@@ -462,17 +462,18 @@ bool fm_delete_preset(void)
return reload_dir;
}
-static struct menu_items f3_items[] = {
+static struct menu_items fm_menu_items[] = {
{ "Add preset...", fm_add_preset },
{ "Delete preset...", fm_delete_preset }
};
-bool fm_f3_menu(void)
+bool fm_menu(void)
{
int m;
bool result;
- m = menu_init( f3_items, sizeof f3_items / sizeof(struct menu_items) );
+ m = menu_init( fm_menu_items,
+ sizeof fm_menu_items / sizeof(struct menu_items) );
result = menu_run(m);
menu_exit(m);
return result;