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:
- 203:424308159a56
- Parent:
- 198:17200a427e71
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){
