diff options
author | William Wilgus <wilgus.william@gmail.com> | 2022-12-17 02:43:41 -0500 |
---|---|---|
committer | William Wilgus <wilgus.william@gmail.com> | 2022-12-17 02:51:43 -0500 |
commit | ccf1aaa5bede11c95d219adbf6267426b57613d2 (patch) | |
tree | a2670a79c42b743d19631055385004706369b5d2 /apps/menus/recording_menu.c | |
parent | 6f54bb63fc1f0da06330806321fbba50b1364907 (diff) | |
download | rockbox-ccf1aaa5bede11c95d219adbf6267426b57613d2.tar.gz rockbox-ccf1aaa5bede11c95d219adbf6267426b57613d2.zip |
menus move functions with parameters to their own type
left the union with function(void) and function_w_param(param)
as a few areas might still need to use both (onplay.c)
there might be a few I missed yet..
Change-Id: I593a6875301923e19ba04ad1b0f3173dc9ebdf1f
Diffstat (limited to 'apps/menus/recording_menu.c')
-rw-r--r-- | apps/menus/recording_menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menus/recording_menu.c b/apps/menus/recording_menu.c index c9ff975269..fc450c7921 100644 --- a/apps/menus/recording_menu.c +++ b/apps/menus/recording_menu.c | |||
@@ -575,7 +575,7 @@ MENUITEM_FUNCTION(rectrigger_item, 0, ID2P(LANG_RECORD_TRIGGER), | |||
575 | rectrigger, NULL, NULL, Icon_Menu_setting); | 575 | rectrigger, NULL, NULL, Icon_Menu_setting); |
576 | 576 | ||
577 | static struct browse_folder_info rec_config_browse = {RECPRESETS_DIR, SHOW_CFG}; | 577 | static struct browse_folder_info rec_config_browse = {RECPRESETS_DIR, SHOW_CFG}; |
578 | MENUITEM_FUNCTION(browse_recconfigs, MENU_FUNC_USEPARAM, ID2P(LANG_CUSTOM_CFG), | 578 | MENUITEM_FUNCTION_W_PARAM(browse_recconfigs, 0, ID2P(LANG_CUSTOM_CFG), |
579 | browse_folder, (void*)&rec_config_browse, NULL, Icon_Config); | 579 | browse_folder, (void*)&rec_config_browse, NULL, Icon_Config); |
580 | static int write_settings_file(void) | 580 | static int write_settings_file(void) |
581 | { | 581 | { |
@@ -614,5 +614,5 @@ int recording_menu(bool no_source) | |||
614 | return retval; | 614 | return retval; |
615 | }; | 615 | }; |
616 | 616 | ||
617 | MENUITEM_FUNCTION(recording_settings, MENU_FUNC_USEPARAM, ID2P(LANG_RECORDING_SETTINGS), | 617 | MENUITEM_FUNCTION_W_PARAM(recording_settings, 0, ID2P(LANG_RECORDING_SETTINGS), |
618 | recording_menu, 0, NULL, Icon_Recording); | 618 | recording_menu, 0, NULL, Icon_Recording); |