nordic

Fork of nRF51822 by Nordic Semiconductor

Revision:
416:92bda1851be2
Parent:
415:d92da8b4c30c
Child:
417:5b7d26035f2b
diff -r d92da8b4c30c -r 92bda1851be2 source/nRF5xGattClient.cpp
--- a/source/nRF5xGattClient.cpp	Tue Aug 11 15:14:22 2015 +0100
+++ b/source/nRF5xGattClient.cpp	Tue Aug 11 15:14:23 2015 +0100
@@ -16,9 +16,10 @@
 
 #include "nRF5xGattClient.h"
 
+nRF5xGattClient nRFGattClientSingleton;
+
 nRF5xGattClient &
 nRF5xGattClient::getInstance(void) {
-    static nRF5xGattClient nRFGattClientSingleton;
     return nRFGattClientSingleton;
 }