Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
15:e3e03a9df89e
Parent:
9:da906eeac51e
Child:
27:db73f8ac6c75
diff -r 6be57da62283 -r e3e03a9df89e handle/dataLocation.cpp
--- a/handle/dataLocation.cpp	Thu Apr 10 02:19:07 2014 +0000
+++ b/handle/dataLocation.cpp	Thu Apr 10 05:38:45 2014 +0000
@@ -40,4 +40,7 @@
     getI(type)=getI(type,LHIType_size);
     getI(type,LHIType_size)++;
     getC(type)=newLoc;
-}
\ No newline at end of file
+}
+
+static LocHolder* mainLocHolder=NULL;
+LocHolder& DH::Locs(){if(mainLocHolder==NULL){mainLocHolder=new LocHolder();}return *mainLocHolder;}
\ No newline at end of file