minor rename of a variable.

This commit is contained in:
Rohit Grover 2015-07-01 11:33:38 +01:00
parent 2d59404877
commit 7fb8b66ebb

View file

@ -267,21 +267,21 @@ protected:
}
}
void handleEvent(GattServerEvents::gattEvent_e type, GattAttribute::Handle_t charHandle) {
void handleEvent(GattServerEvents::gattEvent_e type, GattAttribute::Handle_t attributeHandle) {
switch (type) {
case GattServerEvents::GATT_EVENT_UPDATES_ENABLED:
if (updatesEnabledCallback) {
updatesEnabledCallback(charHandle);
updatesEnabledCallback(attributeHandle);
}
break;
case GattServerEvents::GATT_EVENT_UPDATES_DISABLED:
if (updatesDisabledCallback) {
updatesDisabledCallback(charHandle);
updatesDisabledCallback(attributeHandle);
}
break;
case GattServerEvents::GATT_EVENT_CONFIRMATION_RECEIVED:
if (confirmationReceivedCallback) {
confirmationReceivedCallback(charHandle);
confirmationReceivedCallback(attributeHandle);
}
break;
default: