diff options
Diffstat (limited to 'apps/plugins/pitch_detector.c')
-rw-r--r-- | apps/plugins/pitch_detector.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/apps/plugins/pitch_detector.c b/apps/plugins/pitch_detector.c index 09536a7b18..538e0886fa 100644 --- a/apps/plugins/pitch_detector.c +++ b/apps/plugins/pitch_detector.c | |||
@@ -413,11 +413,9 @@ void save_settings(void) | |||
413 | 413 | ||
414 | /* Keymaps */ | 414 | /* Keymaps */ |
415 | const struct button_mapping* plugin_contexts[]={ | 415 | const struct button_mapping* plugin_contexts[]={ |
416 | generic_actions, | 416 | pla_main_ctx, |
417 | generic_increase_decrease, | ||
418 | generic_directions, | ||
419 | #if NB_SCREENS == 2 | 417 | #if NB_SCREENS == 2 |
420 | remote_directions | 418 | pla_remote_ctx, |
421 | #endif | 419 | #endif |
422 | }; | 420 | }; |
423 | #define PLA_ARRAY_COUNT sizeof(plugin_contexts)/sizeof(plugin_contexts[0]) | 421 | #define PLA_ARRAY_COUNT sizeof(plugin_contexts)/sizeof(plugin_contexts[0]) |
@@ -1040,11 +1038,11 @@ void record_and_get_pitch(void) | |||
1040 | 1038 | ||
1041 | switch(button) | 1039 | switch(button) |
1042 | { | 1040 | { |
1043 | case PLA_QUIT: | 1041 | case PLA_EXIT: |
1044 | quit=true; | 1042 | quit=true; |
1045 | break; | 1043 | break; |
1046 | 1044 | ||
1047 | case PLA_MENU: | 1045 | case PLA_CANCEL: |
1048 | rb->pcm_stop_recording(); | 1046 | rb->pcm_stop_recording(); |
1049 | quit = main_menu() != 0; | 1047 | quit = main_menu() != 0; |
1050 | if(!quit) | 1048 | if(!quit) |