rename BLEService disconnect/connect handler

This commit is contained in:
hathach committed 2019-02-27 12:16:00 +07:00
1 parent 7bc06a9634
commit 1d61b33765
5 files changed
+12 -11

No files matched your search

+2 -2
View File
@@ -94,10 +94,10 @@ void BLEGatt::_eventHandler(ble_evt_t* evt)
{
if ( evt_id == BLE_GAP_EVT_DISCONNECTED )
{
_server.svc_list[i]->_disconnect_cb();
_server.svc_list[i]->svc_disconnect_hdl(evt_conn_hdl);
}else
{
_server.svc_list[i]->_connect_cb();
_server.svc_list[i]->svc_connect_hdl(evt_conn_hdl);
}
}
}