mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-10 05:59:08 -07:00
Merge branch 'ofw_dev' into blerefactr
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
#include "profiles/serial_profile.h"
|
||||
#include "rpc_i.h"
|
||||
|
||||
#include <pb.h>
|
||||
@@ -331,7 +332,7 @@ static int32_t rpc_session_worker(void* context) {
|
||||
// Disconnect BLE session
|
||||
FURI_LOG_E("RPC", "BLE session closed due to a decode error");
|
||||
Bt* bt = furi_record_open(RECORD_BT);
|
||||
bt_set_profile(bt, BtProfileSerial);
|
||||
bt_profile_restore_default(bt);
|
||||
furi_record_close(RECORD_BT);
|
||||
FURI_LOG_E("RPC", "Finished disconnecting the BLE session");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user