more clean up
This commit is contained in:
1 parent
c4e25295e2
commit
0e74a76c0a
4 files changed
+2
-113
No files matched your search
@@ -146,7 +146,7 @@ void BLEGatt::_eventHandler(ble_evt_t* evt)
|
||||
// Save CCCD if paired
|
||||
if ( Bluefruit.connPaired() && (evt_id == BLE_GATTS_EVT_WRITE) && (req_handle == chr->handles().cccd_handle) )
|
||||
{
|
||||
bond_save_cccd(evt_conn_hdl, Bluefruit._bond_data.own_enc.master_id.ediv);
|
||||
bond_save_cccd(evt_conn_hdl, Bluefruit.Gap._get_peer(evt_conn_hdl)->ediv);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user