library for BLE_GAP_backpack
Dependencies: nrf51-sdk
Fork of nRF51822 by
Diff: btle/btle_discovery.h
- Revision:
- 316:1ccf6ee70900
- Parent:
- 315:044071756a8d
- Child:
- 332:b054000833d4
diff -r 044071756a8d -r 1ccf6ee70900 btle/btle_discovery.h --- a/btle/btle_discovery.h Fri Jun 19 15:55:30 2015 +0100 +++ b/btle/btle_discovery.h Fri Jun 19 15:55:30 2015 +0100 @@ -86,13 +86,11 @@ void resetDiscoveredServices(void) { numServices = 0; serviceIndex = 0; - memset(services, 0, sizeof(DiscoveredService) * BLE_DB_DISCOVERY_MAX_SRV); } void resetDiscoveredCharacteristics(void) { numCharacteristics = 0; characteristicIndex = 0; - memset(characteristics, 0, sizeof(DiscoveredCharacteristic) * BLE_DB_DISCOVERY_MAX_CHAR_PER_SRV); } public: