From 7fb8b66ebba7defc06a07af08b40c536ecba084e Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Wed, 1 Jul 2015 11:33:38 +0100 Subject: [PATCH] minor rename of a variable. --- ble/GattServer.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ble/GattServer.h b/ble/GattServer.h index 101f5f9..eee4397 100644 --- a/ble/GattServer.h +++ b/ble/GattServer.h @@ -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: