Release Candidate 0.48.0 Bug Fixes (#991)

* Power: wait a little bit till message displayed on screen when executing power off. FuriCore: do not use bkpt in release builds(causing HardFault when SPI is active).
* Cleanup BSS section: add more consty consts to be more constish.
* Desktop: properly handle autostarted applications.
This commit is contained in:
あく
2022-02-13 22:24:03 +03:00
committed by GitHub
parent 2c616983cf
commit 939998a8c8
26 changed files with 258 additions and 233 deletions

View File

@@ -87,12 +87,6 @@ void desktop_scene_main_on_enter(void* context) {
Loader* loader = furi_record_open("loader");
desktop->app_start_stop_subscription = furi_pubsub_subscribe(
loader_get_pubsub(loader), desktop_scene_main_app_started_callback, desktop);
// Special case: application is already running (autostart application)
if(loader_is_locked(loader)) {
animation_manager_unload_and_stall_animation(desktop->animation_manager);
}
furi_record_close("loader");
desktop_main_set_callback(main_view, desktop_scene_main_callback, desktop);