mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2024-12-24 22:07:14 +03:00
udp
This commit is contained in:
parent
f6786d5a59
commit
b11b0a4911
@ -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 New Issue
Block a user