Improve readability with getHandle inline

Fork of BLE_API by Bluetooth Low Energy

Revision:
116:ca826083980e
Parent:
106:a20be740075d
Child:
144:c025c8839682
diff -r 47e4cdd7b0c5 -r ca826083980e common/UUID.cpp
--- a/common/UUID.cpp	Fri Aug 29 10:41:06 2014 +0200
+++ b/common/UUID.cpp	Tue Sep 02 15:09:46 2014 +0100
@@ -64,7 +64,7 @@
     @endcode
 */
 /**************************************************************************/
-UUID::UUID(const LongUUID_t longUUID) : type(UUID_TYPE_SHORT), baseUUID(), shortUUID(0)
+UUID::UUID(const LongUUIDBytes_t longUUID) : type(UUID_TYPE_SHORT), baseUUID(), shortUUID(0)
 {
     memcpy(baseUUID, longUUID, LENGTH_OF_LONG_UUID);
     shortUUID = (uint16_t)((longUUID[2] << 8) | (longUUID[3]));
@@ -98,7 +98,7 @@
                 The 16-bit BLE UUID value.
 */
 /**************************************************************************/
-UUID::UUID(ShortUUID_t shortUUID) : type(UUID_TYPE_SHORT), baseUUID(), shortUUID(shortUUID)
+UUID::UUID(ShortUUIDBytes_t shortUUID) : type(UUID_TYPE_SHORT), baseUUID(), shortUUID(shortUUID)
 {
     /* empty */
 }