Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE 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{
