introduce a handleDataSentEvent which takes a count.
This commit is contained in:
parent
900ead3cc5
commit
10ad7e4f1a
1 changed files with 1 additions and 3 deletions
|
@ -299,9 +299,7 @@ void nRF51GattServer::hwCallback(ble_evt_t *p_ble_evt)
|
|||
break;
|
||||
|
||||
case BLE_EVT_TX_COMPLETE: {
|
||||
for (unsigned i = 0; i < p_ble_evt->evt.common_evt.params.tx_complete.count; i++) {
|
||||
handleEvent(GattServerEvents::GATT_EVENT_DATA_SENT);
|
||||
}
|
||||
handleDataSentEvent(p_ble_evt->evt.common_evt.params.tx_complete.count);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue