bugfix for duplicate symbol
Fork of nRF51822 by
Diff: nRF51822n.h
- Revision:
- 127:bd1e1fe607e0
- Parent:
- 103:138bdc859cc9
- Child:
- 134:df7e7964a9c3
diff -r e6114201f092 -r bd1e1fe607e0 nRF51822n.h --- a/nRF51822n.h Fri May 08 15:33:55 2015 +0100 +++ b/nRF51822n.h Fri May 08 15:33:55 2015 +0100 @@ -22,6 +22,7 @@ #include "BLEDevice.h" #include "nRF51Gap.h" #include "nRF51GattServer.h" +#include "btle.h" class nRF51822n : public BLEDeviceInstanceBase { @@ -44,6 +45,7 @@ virtual ble_error_t init(void); virtual ble_error_t shutdown(void); virtual ble_error_t reset(void); + virtual ble_error_t initializeSecurity(void) {return btle_initializeSecurity();} virtual void waitForEvent(void); };