Device to measure angle and get IMU measurements.

Dependencies:   mbed commands BLE_API nRF51822

Revision:
6:75263c93daf7
Parent:
5:46947b447701
diff -r 46947b447701 -r 75263c93daf7 Storage.h
--- a/Storage.h	Sun Jun 07 14:11:26 2015 +0000
+++ b/Storage.h	Sun Jun 07 21:58:02 2015 +0000
@@ -5,18 +5,18 @@
 
 class Storage
 {
-    static Storage* instance;
-    Storage();
 
 public:
-
-    static Storage* getInstance();
+    Storage();
     void setup();
     void setWREN();
     void setWRDI();
+    
     int8_t getSR1();
     int8_t getSR2();
+    
     void  clearSR();
+    
     bool isBusy();
     void endAction();
     
@@ -32,29 +32,4 @@
 
 };
 
-#endif /* _STORAGE_H_ */
-
-
-
-/*
-class Singleton
-{
-    private:
-        int mData;
-
-    public:
-        static Singleton& getInstance()
-        {
-            static Singleton instance;
-            return instance;
-        }
-        int GetData()
-        {
-            return mData;
-        }
-    private:
-        Singleton() {};
-        Singleton(Singleton const&);
-        void operator=(Singleton const&);
-};
-*/
\ No newline at end of file
+#endif /* _STORAGE_H_ */
\ No newline at end of file