This commit is contained in:
r3df0xx
2022-04-11 00:38:20 +03:00
parent 745d91c53a
commit 2a2c4ba568
2 changed files with 8 additions and 2 deletions

View File

@@ -194,8 +194,8 @@ bool subghz_scene_receiver_info_on_event(void* context, SceneManagerEvent event)
byte_input_callback,
NULL,
subghz,
NULL,
NULL);
subghz->seed_data->seed,
subghz->seed_data->seed_len);
view_dispatcher_switch_to_view(subghz->view_dispatcher, SubGhzViewIdByteInput);
}
} else if(event.type == SceneManagerEventTypeTick) {

View File

@@ -110,6 +110,11 @@ struct SubGhzTxRx {
typedef struct SubGhzTxRx SubGhzTxRx;
typedef struct {
uint8_t seed[4];
uint8_t seed_len;
} SeedData;
struct SubGhz {
Gui* gui;
NotificationApp* notifications;
@@ -123,6 +128,7 @@ struct SubGhz {
Popup* popup;
TextInput* text_input;
ByteInput* byte_input;
SeedData* seed_data;
Widget* widget;
DialogsApp* dialogs;
char file_name[SUBGHZ_MAX_LEN_NAME + 1];