i2c working with old hk

Dependencies:   mbed-rtos mbed

Fork of BAE_vr2_1_1 by green rosh

Revision:
7:f06840d848e3
Parent:
6:e65b1ab79f36
Child:
8:69475d16d23d
--- a/main.cpp	Tue Dec 09 07:59:56 2014 +0000
+++ b/main.cpp	Wed Dec 10 06:34:17 2014 +0000
@@ -89,6 +89,7 @@
         sensor_data *ptr = q_acs.alloc();
         
         func_acs_readdata(ptr);
+        //printf("\ngdhd\n");
         q_acs.put(ptr);
         if(acs_pflag == 1)
         {
@@ -278,7 +279,7 @@
     printf("\n%f\n",t1.read()); 
         
     while(1)
-    {
+    {   
         Thread::wait(10000);
         ;
     }