No changes
Fork of nRF51822 by
Diff: btle/btle_discovery.h
- Revision:
- 316:1ccf6ee70900
- Parent:
- 315:044071756a8d
- Child:
- 332:b054000833d4
--- 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: