
Repository for CDMS code
Dependencies: SimpleDMA mbed-rtos mbed eeprom
Fork of COM_MNG_TMTC_SIMPLE by
Revision 32:325359eb8d5c, committed 2016-01-04
- Comitter:
- ee12b079
- Date:
- Mon Jan 04 16:32:26 2016 +0000
- Parent:
- 31:470cfff32c3c
- Child:
- 33:8f5a4ce4ba4a
- Commit message:
- corrected bug in segment_r
Changed in this revision
COM_SND_TM.h | Show annotated file Show diff for this revision Revisions of this file |
--- 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{