diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/radio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index fdb1f1bbf7..a9937a3f60 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c | |||
@@ -604,7 +604,7 @@ bool radio_preset_select(void) | |||
604 | if(num_presets) | 604 | if(num_presets) |
605 | { | 605 | { |
606 | /* DIY menu handling, since we want to exit after selection */ | 606 | /* DIY menu handling, since we want to exit after selection */ |
607 | m = menu_init( menu, num_presets ); | 607 | m = menu_init( menu, num_presets, NULL ); |
608 | result = menu_show(m); | 608 | result = menu_show(m); |
609 | menu_exit(m); | 609 | menu_exit(m); |
610 | if (result == MENU_SELECTED_EXIT) | 610 | if (result == MENU_SELECTED_EXIT) |
@@ -676,7 +676,7 @@ bool radio_delete_preset(void) | |||
676 | } | 676 | } |
677 | 677 | ||
678 | /* DIY menu handling, since we want to exit after selection */ | 678 | /* DIY menu handling, since we want to exit after selection */ |
679 | m = menu_init( menu, num_presets ); | 679 | m = menu_init( menu, num_presets, NULL ); |
680 | result = menu_show(m); | 680 | result = menu_show(m); |
681 | menu_exit(m); | 681 | menu_exit(m); |
682 | if (result == MENU_SELECTED_EXIT) | 682 | if (result == MENU_SELECTED_EXIT) |
@@ -724,7 +724,7 @@ bool radio_menu(void) | |||
724 | bool result; | 724 | bool result; |
725 | 725 | ||
726 | m = menu_init( radio_menu_items, | 726 | m = menu_init( radio_menu_items, |
727 | sizeof radio_menu_items / sizeof(struct menu_items) ); | 727 | sizeof radio_menu_items / sizeof(struct menu_items), NULL ); |
728 | result = menu_run(m); | 728 | result = menu_run(m); |
729 | menu_exit(m); | 729 | menu_exit(m); |
730 | return result; | 730 | return result; |