[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:09 +03:00
committed by GitHub
parent 66f9d946ae
commit 72ca76097a
7 changed files with 32 additions and 35 deletions

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");