No changes
Fork of nRF51822 by
Diff: source/nRF5xn.cpp
- Revision:
- 588:65d256258533
- Parent:
- 587:596071444447
- Child:
- 589:f27ac458e152
--- a/source/nRF5xn.cpp Mon Jan 11 10:19:29 2016 +0000 +++ b/source/nRF5xn.cpp Mon Jan 11 10:19:30 2016 +0000 @@ -53,8 +53,7 @@ nRF5xn::nRF5xn(void) : initialized(false), instanceID(BLE::DEFAULT_INSTANCE), - _gapInstance(), - gapInstance(NULL), + gapInstance(), gattServerInstance(NULL), gattClientInstance(NULL), securityManagerInstance(NULL) @@ -193,8 +192,7 @@ } #endif - /* Gap instance is always present */ - error = gapInstance->reset(); + error = gapInstance.reset(); if (error != BLE_ERROR_NONE) { return error; }