Merge branch 'ofw_dev' into dev

This commit is contained in:
MX
2023-09-30 23:42:42 +03:00

View File

@@ -367,13 +367,13 @@ static void bt_change_profile(Bt* bt, BtMessage* message) {
*message->result = false; *message->result = false;
} }
} }
api_lock_unlock(message->lock); if(message->lock) api_lock_unlock(message->lock);
} }
static void bt_close_connection(Bt* bt, BtMessage* message) { static void bt_close_connection(Bt* bt, BtMessage* message) {
bt_close_rpc_connection(bt); bt_close_rpc_connection(bt);
furi_hal_bt_stop_advertising(); furi_hal_bt_stop_advertising();
api_lock_unlock(message->lock); if(message->lock) api_lock_unlock(message->lock);
} }
static inline FuriHalBtProfile get_hal_bt_profile(BtProfile profile) { static inline FuriHalBtProfile get_hal_bt_profile(BtProfile profile) {