nochanges
Dependents: BLE_Acceleration_Statejudging
Fork of nRF51822 by
Diff: nRF51GattServer.h
- Revision:
- 180:5082f66bb16e
- Parent:
- 112:737b08b3b995
- Child:
- 184:d51fa0c27bbb
diff -r 10e4c13360d9 -r 5082f66bb16e nRF51GattServer.h --- a/nRF51GattServer.h Mon Jun 08 10:43:29 2015 +0100 +++ b/nRF51GattServer.h Mon Jun 08 10:43:29 2015 +0100 @@ -27,10 +27,7 @@ class nRF51GattServer : public GattServer { public: - static nRF51GattServer &getInstance() { - static nRF51GattServer m_instance; - return m_instance; - } + static nRF51GattServer &getInstance(); /* Functions that must be implemented from GattServer */ virtual ble_error_t addService(GattService &);