CDMS code for testing sbc

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of CDMS_CODE by shubham c

Files at this revision

API Documentation at this revision

Comitter:
ee12b079
Date:
Fri Jul 15 15:05:27 2016 +0000
Parent:
264:f7d8f9f361e3
Commit message:
Integrated with Beacon, I2C thread made highest priority. in BAE

Changed in this revision

COM_MNG_TMTC.h Show annotated file Show diff for this revision Revisions of this file
ThreadsAndFunctions.h Show annotated file Show diff for this revision Revisions of this file
--- a/COM_MNG_TMTC.h	Thu Jul 14 23:05:09 2016 +0000
+++ b/COM_MNG_TMTC.h	Fri Jul 15 15:05:27 2016 +0000
@@ -375,7 +375,7 @@
                 gPC.printf("BAE write succe\r\n");
                 //wait(0.2);
                 int poll=0;
-                while(poll<9000 && BAE_I2C_GPIO==0)
+                while(poll<15000 && BAE_I2C_GPIO==0)
                 {
                     wait_us(10);
                     poll+=1;
--- a/ThreadsAndFunctions.h	Thu Jul 14 23:05:09 2016 +0000
+++ b/ThreadsAndFunctions.h	Fri Jul 15 15:05:27 2016 +0000
@@ -157,7 +157,7 @@
         }
         else if( gFLAGS & NEW_TC_RECEIVED ){
             gPC.puts("NEW TC RECEIVED\r\n");
-            //Thread::wait(10000);
+            /*Thread::wait(40000);*/
             gFLAGS = gFLAGS & (~NEW_TC_RECEIVED);
             gFLAGS = gFLAGS | COM_MNG_TMTC_RUNNING_FLAG;