Commit 5ec1c349 authored by 王金亮's avatar 王金亮

feat:变更点2:修改TYW清大计无法清除蓝牙配对信息问题

parent d784e019
......@@ -140,12 +140,12 @@ void BT_User_Process(void )
/* */
uint8_t ODO_Clear_BLEinfo(void )
{
if (Ble_User.Ble_Sts == Ble_Conn)
{
esp_hf_client_disconnect(peer_addr);
}
// if (Ble_User.Ble_Sts == Ble_Conn)
// {
// esp_hf_client_disconnect(peer_addr);
// }
uint8_t ret = 0;
uint8_t bond_dev_num = esp_bt_gap_get_bond_device_num();
int bond_dev_num = esp_bt_gap_get_bond_device_num();
if(bond_dev_num)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment