I2C code testing

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by Siva ram

Revision:
95:42d6747900cb
Parent:
92:bce22b38c440
Child:
96:4ca92f9775e0
--- a/OBSRS.h	Sun Jan 24 13:30:11 2016 +0000
+++ b/OBSRS.h	Mon Jan 25 06:22:29 2016 +0000
@@ -268,7 +268,7 @@
 //   // return 0x86; // invalid TC
 //}
 
-void send_tm_from_SD_card(){
+void send_tm_from_SD_card_fun(){
     for(counter_buffer_112=0;counter_buffer_112<112;counter_buffer_112++){
         if(enable_new_segment){                     // starting new segment
             send_S_frame;
@@ -490,6 +490,8 @@
 }
 
 void execute_OBSRS_TC(Base_tc *tcp){
+    sent_tmfrom_SDcard = true;
+    
 //    short_TC = true;
     //pc.printf("WELCOME\n\r");
     FCTN_CDMS_SD_INIT();/* sd card initialization*/
@@ -497,7 +499,7 @@
 //    FSC =10;
 //    no_of_frames =1;
 //    short_TC = true;
-//    adf_SND_SDCard();
+//    transmit_adf();
 
     if( GETshort_or_long_tc(tcp) == SHORT_TC_CODE ){
         short_TC = true;