SubGhz: increase output power and. Dolphin scene: refactor. (#411)

* SubGhz: increase output power to max
* Dolphin scene: refactor code.
This commit is contained in:
あく
2021-04-15 19:39:15 +03:00
committed by GitHub
parent 3e281175da
commit e0bc80cd8b
4 changed files with 67 additions and 70 deletions
+5 -5
View File
@@ -53,15 +53,15 @@ static void dolphin_scene_start_app(SceneState* state, const FlipperApplication*
furi_assert(state);
furi_assert(flipper_app);
state->ui.scene_app_thread = furi_thread_alloc();
state->scene_app_thread = furi_thread_alloc();
furi_assert(flipper_app->app);
furi_assert(flipper_app->name);
furi_thread_set_name(state->ui.scene_app_thread, flipper_app->name);
furi_thread_set_stack_size(state->ui.scene_app_thread, flipper_app->stack_size);
furi_thread_set_callback(state->ui.scene_app_thread, flipper_app->app);
furi_thread_start(state->ui.scene_app_thread);
furi_thread_set_name(state->scene_app_thread, flipper_app->name);
furi_thread_set_stack_size(state->scene_app_thread, flipper_app->stack_size);
furi_thread_set_callback(state->scene_app_thread, flipper_app->app);
furi_thread_start(state->scene_app_thread);
}
const Item* is_nearby(SceneState* state) {