mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-14 04:58:36 -07:00
Merge branch 'ofw_dev' into dev
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user