mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 10:48:35 -07:00
Overhaul | 2
This commit is contained in:
@@ -455,7 +455,7 @@ static void
|
||||
} while(false);
|
||||
|
||||
furi_string_free(remote_path);
|
||||
//infrared_brute_force_reset(brute_force);
|
||||
infrared_brute_force_reset(brute_force);
|
||||
infrared_brute_force_free(brute_force);
|
||||
}
|
||||
|
||||
|
||||
@@ -48,13 +48,18 @@ static void loader_menu_callback(void* _ctx, uint32_t index) {
|
||||
|
||||
furi_assert(application->app);
|
||||
furi_assert(application->name);
|
||||
furi_assert(application->link);
|
||||
|
||||
if(!loader_lock(loader_instance)) {
|
||||
FURI_LOG_E(TAG, "Loader is locked");
|
||||
return;
|
||||
if(strcmp(application->link, "NULL") != 0) {
|
||||
LoaderStatus status = loader_start(NULL, "Applications", application->link);
|
||||
} else {
|
||||
if(!loader_lock(loader_instance)) {
|
||||
FURI_LOG_E(TAG, "Loader is locked");
|
||||
return;
|
||||
}
|
||||
|
||||
loader_start_application(application, NULL);
|
||||
}
|
||||
|
||||
loader_start_application(application, NULL);
|
||||
}
|
||||
|
||||
static void loader_submenu_callback(void* context, uint32_t index) {
|
||||
@@ -526,4 +531,4 @@ int32_t loader_srv(void* p) {
|
||||
|
||||
FuriPubSub* loader_get_pubsub(Loader* instance) {
|
||||
return instance->pubsub;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user