[FL-1811] FuriHal: move core2 startup to hal init stage, prevent working with flash controller till core2 startup finish. #704

This commit is contained in:
あく
2021-09-15 17:40:52 +03:00
committed by Aleksandr Kutuzov
parent 95d9140d24
commit 3db456da98
7 changed files with 32 additions and 35 deletions
-1
View File
@@ -62,7 +62,6 @@ Bt* bt_alloc() {
int32_t bt_srv() {
Bt* bt = bt_alloc();
furi_record_create("bt", bt);
furi_hal_bt_init();
if(!furi_hal_bt_wait_startup()) {
FURI_LOG_E(BT_SERVICE_TAG, "Core2 startup failed");