rename Gap.getConnection() to simply Connection()

This commit is contained in:
hathach committed 2019-01-22 22:54:33 +07:00
1 parent 5d9f0badb8
commit 89be3a197f
9 files changed
+21 -21

No files matched your search

@@ -94,7 +94,7 @@ static void bledfu_control_wr_authorize_cb(BLECharacteristic& chr, ble_gatts_evt
{
uint16_t conn_hdl = Bluefruit.connHandle();
BLEConnection* conn = Bluefruit.Gap.getConnection(conn_hdl);
BLEConnection* conn = Bluefruit.Gap.Connection(conn_hdl);
ble_gatts_rw_authorize_reply_params_t reply = { .type = BLE_GATTS_AUTHORIZE_TYPE_WRITE };