mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2025-02-17 05:48:33 +00:00
fix critical bug with subghz rpc
This commit is contained in:
parent
8dba4f25ae
commit
fbacdc5b7b
1 changed files with 8 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
#include "../subghz_i.h"
|
||||
#include <lib/subghz/protocols/keeloq.h>
|
||||
#include <lib/subghz/protocols/star_line.h>
|
||||
|
||||
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();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue