1

Fork of nRF51822 by Nordic Semiconductor

Revision:
181:ce044982b915
Parent:
179:10e4c13360d9
Child:
265:04673a322cf9
--- a/nRF51Gap.cpp	Mon Jun 08 10:43:29 2015 +0100
+++ b/nRF51Gap.cpp	Mon Jun 08 10:43:30 2015 +0100
@@ -21,6 +21,11 @@
 #include "ble_advdata.h"
 #include "ble_hci.h"
 
+nRF51Gap &nRF51Gap::getInstance() {
+    static nRF51Gap m_instance;
+    return m_instance;
+}
+
 /**************************************************************************/
 /*!
     @brief  Sets the advertising parameters and payload for the device