rename Gap.getConnection() to simply Connection()
This commit is contained in:
9 files changed
+21
-21
No files matched your search
@@ -81,7 +81,7 @@ void BLEGatt::_eventHandler(ble_evt_t* evt)
|
||||
const uint16_t evt_conn_hdl = evt->evt.common_evt.conn_handle;
|
||||
const uint16_t evt_id = evt->header.evt_id;
|
||||
|
||||
BLEConnection* conn = (evt_conn_hdl == BLE_CONN_HANDLE_INVALID) ? NULL : Bluefruit.Gap.getConnection(evt_conn_hdl);
|
||||
BLEConnection* conn = (evt_conn_hdl == BLE_CONN_HANDLE_INVALID) ? NULL : Bluefruit.Gap.Connection(evt_conn_hdl);
|
||||
|
||||
/*------------- Server service -------------*/
|
||||
// TODO multiple peripherals
|
||||
|
||||
Reference in new issue
Block a user