I2C code testing

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by Siva ram

Revision:
60:768056b558b2
Parent:
57:bf998cb2a104
--- a/COM_SND_TM.h	Fri Jan 15 08:59:09 2016 +0000
+++ b/COM_SND_TM.h	Fri Jan 15 11:54:40 2016 +0000
@@ -89,6 +89,7 @@
         if(SEGMENT_NO == 1) segment_r = 0; else segment_r = 1;
         TOTAL_SEGMENT_NO -= SEGMENT_NO;
         LAST_SEGMENT_SIZE = total_frames*2%ISR?total_frames*2%ISR:ISR;
+        gPC.printf("last_seg_size = %d,%d\n",LAST_SEGMENT_SIZE,segment_r);
     }
  
 #define next_type_structure(ptr){\
@@ -230,8 +231,9 @@
         }\
         DS_state = !DS_state;\
         if (DS_f){\
+            gPC.printf("\n1\n");\
             DS_f = false;\
-            if(print_in_snd_tm == 1);\
+            if(print_in_snd_tm)\
             print_tm(ptr);\
             exor(ptr);\
             convolution(ptr);\
@@ -315,6 +317,7 @@
                         }
                         else
                         {
+                            printf("here");
                             data_f = true;
                             make_DataStream;
                         }