I2C code testing

Dependencies:   FreescaleIAP SimpleDMA mbed-rtos mbed

Fork of COM_MNG_TMTC_SIMPLE_pl123 by Siva ram

Revision:
32:325359eb8d5c
Parent:
31:470cfff32c3c
Child:
46:8a85dab29a40
Child:
47:5660bd20b146
--- a/COM_SND_TM.h	Mon Jan 04 13:08:34 2016 +0000
+++ b/COM_SND_TM.h	Mon Jan 04 16:32:26 2016 +0000
@@ -348,7 +348,7 @@
                         else{
                             Tframe_c = 0;
                             segment_c++;
-                            if(segment_c == SEGMENT_NO - 1 && TOTAL_SEGMENT_NO == 0) segment_r = 0; else segment_r = 1;
+                            if(segment_c >= SEGMENT_NO - 1 && TOTAL_SEGMENT_NO == 0) segment_r = 0; else segment_r = 1;
                             if(segment_c == SEGMENT_NO)
                                 {eos_f = true;}
                             else{