Colin Stearns / Mbed 2 deprecated qcControl

Dependencies:   mbed

Fork of dgps by Colin Stearns

Revision:
32:9cb7bc3fc9e0
Parent:
27:db73f8ac6c75
Child:
40:7b4d6043f533
diff -r 6f68fa0aeee5 -r 9cb7bc3fc9e0 handle/dataLocation.cpp
--- a/handle/dataLocation.cpp	Tue Apr 22 15:40:23 2014 +0000
+++ b/handle/dataLocation.cpp	Wed Apr 23 01:43:17 2014 +0000
@@ -35,6 +35,7 @@
     unsigned int& index=getI(type);
     // Set index and make sure the index is valid (not negative or greater than max)
     index=getRealIndex(type,(abs?0:index)+amount);
+    getI(type)=index;
 }
 
 void LocHolder::add(LHType type,DataLocation newLoc){