smart ball test board code

Dependencies:   nrf51-sdk

Fork of nRF51822 by Nordic Semiconductor

Revision:
326:eb6914dca928
Parent:
324:7a9c8fa8042d
Child:
331:0a8ebc25b57c
--- a/btle/btle_discovery.cpp	Fri Jun 19 15:55:31 2015 +0100
+++ b/btle/btle_discovery.cpp	Fri Jun 19 15:55:31 2015 +0100
@@ -249,13 +249,13 @@
         if (response->chars[charIndex].uuid.type == BLE_UUID_TYPE_UNKNOWN) {
             charUUIDDiscoveryQueue.enqueue(charIndex);
             characteristics[charIndex].setup(connHandle,
-                                             *(const uint8_t *)(&response->chars[charIndex].char_props),
+                                             response->chars[charIndex].char_props,
                                              response->chars[charIndex].handle_decl,
                                              response->chars[charIndex].handle_value);
         } else {
             characteristics[charIndex].setup(connHandle,
                                              response->chars[charIndex].uuid.uuid,
-                                             *(const uint8_t *)(&response->chars[charIndex].char_props),
+                                             response->chars[charIndex].char_props,
                                              response->chars[charIndex].handle_decl,
                                              response->chars[charIndex].handle_value);
         }