diff options
Diffstat (limited to 'apps/recorder')
-rw-r--r-- | apps/recorder/radio.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/apps/recorder/radio.c b/apps/recorder/radio.c index a9937a3f60..86e11f9546 100644 --- a/apps/recorder/radio.c +++ b/apps/recorder/radio.c | |||
@@ -595,6 +595,7 @@ bool radio_preset_select(void) | |||
595 | if(presets[i].frequency) | 595 | if(presets[i].frequency) |
596 | { | 596 | { |
597 | menu[num_presets].desc = presets[i].name; | 597 | menu[num_presets].desc = presets[i].name; |
598 | menu[num_presets].voice_id = -1; | ||
598 | /* We use the function pointer entry for the preset | 599 | /* We use the function pointer entry for the preset |
599 | entry index */ | 600 | entry index */ |
600 | menu[num_presets++].function = (void *)i; | 601 | menu[num_presets++].function = (void *)i; |
@@ -669,6 +670,7 @@ bool radio_delete_preset(void) | |||
669 | if(presets[i].frequency) | 670 | if(presets[i].frequency) |
670 | { | 671 | { |
671 | menu[num_presets].desc = presets[i].name; | 672 | menu[num_presets].desc = presets[i].name; |
673 | menu[num_presets].voice_id = -1; | ||
672 | /* We use the function pointer entry for the preset | 674 | /* We use the function pointer entry for the preset |
673 | entry index */ | 675 | entry index */ |
674 | menu[num_presets++].function = (void *)i; | 676 | menu[num_presets++].function = (void *)i; |
@@ -715,10 +717,10 @@ static bool fm_recording_settings(void) | |||
715 | bool radio_menu(void) | 717 | bool radio_menu(void) |
716 | { | 718 | { |
717 | struct menu_items radio_menu_items[] = { | 719 | struct menu_items radio_menu_items[] = { |
718 | { str(LANG_FM_SAVE_PRESET), radio_add_preset }, | 720 | { STR(LANG_FM_SAVE_PRESET), radio_add_preset }, |
719 | { str(LANG_FM_DELETE_PRESET), radio_delete_preset }, | 721 | { STR(LANG_FM_DELETE_PRESET), radio_delete_preset }, |
720 | { str(LANG_SOUND_SETTINGS), sound_menu }, | 722 | { STR(LANG_SOUND_SETTINGS), sound_menu }, |
721 | { str(LANG_RECORDING_SETTINGS), fm_recording_settings } | 723 | { STR(LANG_RECORDING_SETTINGS), fm_recording_settings } |
722 | }; | 724 | }; |
723 | int m; | 725 | int m; |
724 | bool result; | 726 | bool result; |