From fbacdc5b7b754f47b70ae5b3a6c35580740d4793 Mon Sep 17 00:00:00 2001 From: MX <10697207+xMasterX@users.noreply.github.com> Date: Mon, 3 Oct 2022 18:21:18 +0300 Subject: [PATCH] fix critical bug with subghz rpc --- applications/main/subghz/scenes/subghz_scene_rpc.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/applications/main/subghz/scenes/subghz_scene_rpc.c b/applications/main/subghz/scenes/subghz_scene_rpc.c index 652499d05..77b4783c8 100644 --- a/applications/main/subghz/scenes/subghz_scene_rpc.c +++ b/applications/main/subghz/scenes/subghz_scene_rpc.c @@ -1,4 +1,6 @@ #include "../subghz_i.h" +#include +#include typedef enum { SubGhzRpcStateIdle, @@ -97,4 +99,10 @@ void subghz_scene_rpc_on_exit(void* context) { popup_set_header(popup, NULL, 0, 0, AlignCenter, AlignBottom); popup_set_text(popup, NULL, 0, 0, AlignCenter, AlignTop); popup_set_icon(popup, 0, 0, NULL); + + // Oh shit here we go again + keeloq_reset_mfname(); + keeloq_reset_kl_type(); + star_line_reset_mfname(); + star_line_reset_kl_type(); }