publishing to check changes in cdms code
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of CDMS_CODE_samp_23SEP_DMA_flag by
Diff: COM_SND_TM.h
- Revision:
- 203:424308159a56
- Parent:
- 198:17200a427e71
- Child:
- 271:72529b247333
diff -r 8700a3e6324c -r 424308159a56 COM_SND_TM.h --- a/COM_SND_TM.h Fri Jul 01 08:56:27 2016 +0000 +++ b/COM_SND_TM.h Fri Jul 01 17:41:48 2016 +0000 @@ -305,7 +305,8 @@ int make_shor_tm(){ make_DataStream; - return type1_no; + int y = ( type1_no % 10 == 0 )? (type1_no / 10) : ( (type1_no / 10) + 1); + return y; } void inline transmit_data(unsigned char * transmit , bool * last_buffer){ if(transmit_data_f){