diff --git a/applications/plugins/dtmf_dolphin/dtmf_dolphin_data.h b/applications/plugins/dtmf_dolphin/dtmf_dolphin_data.h index 13350b14c..56ceaf03d 100644 --- a/applications/plugins/dtmf_dolphin/dtmf_dolphin_data.h +++ b/applications/plugins/dtmf_dolphin/dtmf_dolphin_data.h @@ -10,6 +10,7 @@ typedef enum { DTMF_DOLPHIN_TONE_BLOCK_BLUEBOX, DTMF_DOLPHIN_TONE_BLOCK_REDBOX_US, DTMF_DOLPHIN_TONE_BLOCK_REDBOX_UK, + DTMF_DOLPHIN_TONE_BLOCK_REDBOX_CA, DTMF_DOLPHIN_TONE_BLOCK_MISC, } DTMFDolphinToneSection; diff --git a/applications/plugins/dtmf_dolphin/dtmf_dolphin_event.h b/applications/plugins/dtmf_dolphin/dtmf_dolphin_event.h index 75f5bb274..525d0eb04 100644 --- a/applications/plugins/dtmf_dolphin/dtmf_dolphin_event.h +++ b/applications/plugins/dtmf_dolphin/dtmf_dolphin_event.h @@ -8,6 +8,7 @@ typedef enum { DTMFDolphinEventStartBluebox, DTMFDolphinEventStartRedboxUS, DTMFDolphinEventStartRedboxUK, + DTMFDolphinEventStartRedboxCA, DTMFDolphinEventStartMisc, DTMFDolphinEventPlayTones, DTMFDolphinEventStopTones, diff --git a/applications/plugins/dtmf_dolphin/dtmf_dolphin_i.h b/applications/plugins/dtmf_dolphin/dtmf_dolphin_i.h index abdabd2b3..f8ae1530f 100644 --- a/applications/plugins/dtmf_dolphin/dtmf_dolphin_i.h +++ b/applications/plugins/dtmf_dolphin/dtmf_dolphin_i.h @@ -22,6 +22,7 @@ enum DTMFDolphinSceneState { DTMFDolphinSceneStateBluebox, DTMFDolphinSceneStateRedboxUS, DTMFDolphinSceneStateRedboxUK, + DTMFDolphinSceneStateRedboxCA, DTMFDolphinSceneStateMisc, }; diff --git a/applications/plugins/dtmf_dolphin/scenes/dtmf_dolphin_scene_dialer.c b/applications/plugins/dtmf_dolphin/scenes/dtmf_dolphin_scene_dialer.c index 9820f5c9a..06da595e0 100644 --- a/applications/plugins/dtmf_dolphin/scenes/dtmf_dolphin_scene_dialer.c +++ b/applications/plugins/dtmf_dolphin/scenes/dtmf_dolphin_scene_dialer.c @@ -17,6 +17,9 @@ void dtmf_dolphin_scene_dialer_on_enter(void* context) { case DTMFDolphinSceneStateRedboxUK: dtmf_dolphin_data_set_current_section(DTMF_DOLPHIN_TONE_BLOCK_REDBOX_UK); break; + case DTMFDolphinSceneStateRedboxCA: + dtmf_dolphin_data_set_current_section(DTMF_DOLPHIN_TONE_BLOCK_REDBOX_CA); + break; case DTMFDolphinSceneStateMisc: dtmf_dolphin_data_set_current_section(DTMF_DOLPHIN_TONE_BLOCK_MISC); break; diff --git a/applications/plugins/dtmf_dolphin/scenes/dtmf_dolphin_scene_start.c b/applications/plugins/dtmf_dolphin/scenes/dtmf_dolphin_scene_start.c index 65cacf5c6..484e9e8eb 100644 --- a/applications/plugins/dtmf_dolphin/scenes/dtmf_dolphin_scene_start.c +++ b/applications/plugins/dtmf_dolphin/scenes/dtmf_dolphin_scene_start.c @@ -17,6 +17,9 @@ static void dtmf_dolphin_scene_start_main_menu_enter_callback(void* context, uin cust_event = DTMFDolphinEventStartRedboxUK; break; case 4: + cust_event = DTMFDolphinEventStartRedboxCA; + break; + case 5: cust_event = DTMFDolphinEventStartMisc; break; default: @@ -38,6 +41,7 @@ void dtmf_dolphin_scene_start_on_enter(void* context) { variable_item_list_add(var_item_list, "Bluebox", 0, NULL, context); variable_item_list_add(var_item_list, "Redbox (US)", 0, NULL, context); variable_item_list_add(var_item_list, "Redbox (UK)", 0, NULL, context); + variable_item_list_add(var_item_list, "Redbox (CA)", 0, NULL, context); variable_item_list_add(var_item_list, "Misc", 0, NULL, context); variable_item_list_set_selected_item( @@ -67,6 +71,9 @@ bool dtmf_dolphin_scene_start_on_event(void* context, SceneManagerEvent event) { case DTMFDolphinEventStartRedboxUK: sc_state = DTMFDolphinSceneStateRedboxUK; break; + case DTMFDolphinEventStartRedboxCA: + sc_state = DTMFDolphinSceneStateRedboxCA; + break; case DTMFDolphinEventStartMisc: sc_state = DTMFDolphinSceneStateMisc; break;