mirror of
https://github.com/DarkFlippers/unleashed-firmware
synced 2024-11-27 15:00:46 +00:00
udp
This commit is contained in:
parent
f6786d5a59
commit
b11b0a4911
2 changed files with 7 additions and 0 deletions
|
@ -42,6 +42,7 @@ SubGhzRemoteApp* subghz_remote_app_alloc() {
|
|||
|
||||
// View Dispatcher
|
||||
app->view_dispatcher = view_dispatcher_alloc();
|
||||
|
||||
app->scene_manager = scene_manager_alloc(&subrem_scene_handlers, app);
|
||||
view_dispatcher_enable_queue(app->view_dispatcher);
|
||||
|
||||
|
@ -127,6 +128,9 @@ void subghz_remote_app_free(SubGhzRemoteApp* app) {
|
|||
view_dispatcher_remove_view(app->view_dispatcher, SubRemViewIDRemote);
|
||||
subrem_view_remote_free(app->subrem_remote_view);
|
||||
|
||||
scene_manager_free(app->scene_manager);
|
||||
view_dispatcher_free(app->view_dispatcher);
|
||||
|
||||
subghz_receiver_free(app->receiver);
|
||||
subghz_environment_free(app->environment);
|
||||
subghz_setting_free(app->setting);
|
||||
|
|
|
@ -288,7 +288,9 @@ static SubRemLoadMapState
|
|||
// FURI_LOG_I(TAG, "Empty file path");
|
||||
continue;
|
||||
}
|
||||
|
||||
sub_preset_loaded = SubRemLoadSubStateErrorNoFile;
|
||||
|
||||
repeat = 200;
|
||||
do {
|
||||
if(!flipper_format_file_open_existing(
|
||||
|
@ -386,6 +388,7 @@ static SubRemLoadMapState
|
|||
|
||||
sub_preset_loaded = SubRemLoadSubStateOK;
|
||||
ret = SubRemLoadMapStateNotAllOK;
|
||||
|
||||
#if FURI_DEBUG
|
||||
FURI_LOG_I(TAG, "%-16s - protocol Loaded", furi_string_get_cstr(sub_preset->label));
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue