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
Diff: COM_SND_TM.h
- Revision:
- 60:768056b558b2
- Parent:
- 57:bf998cb2a104
diff -r bf998cb2a104 -r 768056b558b2 COM_SND_TM.h
--- 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;
}
