Fix critical boot modes (dfu / recovery)

This commit is contained in:
Willy-JL
2023-04-13 02:14:03 +01:00
parent 54e3941272
commit 1609f3c500
13 changed files with 28 additions and 12 deletions

View File

@@ -469,7 +469,7 @@ int32_t bt_srv(void* p) {
UNUSED(p);
Bt* bt = bt_alloc();
if(furi_hal_rtc_get_boot_mode() != FuriHalRtcBootModeNormal) {
if(!furi_hal_is_normal_boot()) {
FURI_LOG_W(TAG, "Skipping start in special boot mode");
ble_glue_wait_for_c2_start(FURI_HAL_BT_C2_START_TIMEOUT);
furi_record_create(RECORD_BT, bt);