Fork of nRF51822 by
Diff: nRF51822n.h
- Revision:
- 350:09912ea7cedd
- Parent:
- 346:14b090482fd2
- Child:
- 353:fddee99b2fdc
--- a/nRF51822n.h Fri Jun 19 15:55:36 2015 +0100 +++ b/nRF51822n.h Fri Jun 19 15:55:36 2015 +0100 @@ -37,6 +37,9 @@ virtual Gap &getGap() { return nRF51Gap::getInstance(); }; + virtual const Gap &getGap() const { + return nRF51Gap::getInstance(); + }; virtual GattServer &getGattServer() { return nRF51GattServer::getInstance(); };