diff --git a/applications/main/subghz/helpers/subghz_custom_event.h b/applications/main/subghz/helpers/subghz_custom_event.h index 7a8239547..416de2cd8 100644 --- a/applications/main/subghz/helpers/subghz_custom_event.h +++ b/applications/main/subghz/helpers/subghz_custom_event.h @@ -15,7 +15,6 @@ typedef enum { SubGhzCustomEventSceneReceiverInfoTxStop, SubGhzCustomEventSceneReceiverInfoSave, SubGhzCustomEventSceneReceiverInfoSats, - SubGhzCustomEventSceneReceiverInfoBack, SubGhzCustomEventSceneSaveName, SubGhzCustomEventSceneSaveSuccess, SubGhzCustomEventSceneShowErrorBack, diff --git a/applications/main/subghz/scenes/subghz_scene_saved.c b/applications/main/subghz/scenes/subghz_scene_saved.c index af4c35835..95abd443e 100644 --- a/applications/main/subghz/scenes/subghz_scene_saved.c +++ b/applications/main/subghz/scenes/subghz_scene_saved.c @@ -24,5 +24,7 @@ bool subghz_scene_saved_on_event(void* context, SceneManagerEvent event) { } void subghz_scene_saved_on_exit(void* context) { + SubGhz* subghz = context; + scene_manager_set_scene_state(subghz->scene_manager, SubGhzSceneSavedMenu, 0); UNUSED(context); } diff --git a/applications/main/subghz/views/receiver.c b/applications/main/subghz/views/receiver.c index cf769a67c..3ba8f234c 100644 --- a/applications/main/subghz/views/receiver.c +++ b/applications/main/subghz/views/receiver.c @@ -1,4 +1,5 @@ #include "receiver.h" +#include "../subghz_i.h" #include "types.h" #include @@ -13,8 +14,6 @@ #define MENU_ITEMS 4u #define UNLOCK_CNT 3 -// #define SUBGHZ_RAW_THRESHOLD_MIN (-90.0f) - #define FLIP_TIMEOUT (500) typedef struct {