Eurobot2012_Primary

Dependencies:   mbed Eurobot_2012_Primary

Revision:
8:ffc7d8af2d5a
Parent:
2:cffa347bb943
--- a/ui/ui.h	Fri Apr 27 16:37:26 2012 +0000
+++ b/ui/ui.h	Fri Apr 27 18:36:54 2012 +0000
@@ -18,9 +18,10 @@
     bool unregid(char id);
     
 private:
+    Mutex printlock;
     char idlist[NUMIDS];
     float* buffarr[NUMIDS];
-    int newdataflags; //Only works for NUMID = 32
+    volatile int newdataflags; //Only works for NUMID = 32
     
     void printloop();
     static void printtw(void const *arg){ ((UI*)arg)->printloop(); }