diff --git a/nRF51822n.h b/nRF51822n.h index c17d17b..f9528c0 100644 --- a/nRF51822n.h +++ b/nRF51822n.h @@ -34,10 +34,10 @@ public: virtual const char *getVersion(void); - virtual Gap &getGap() { + virtual Gap &getGap() { return nRF51Gap::getInstance(); }; - virtual const Gap &getGap() const { + virtual const Gap &getGap() const { return nRF51Gap::getInstance(); }; virtual GattServer &getGattServer() {