11th feb i2c checking chaitu's code
Dependencies: SimpleDMA eeprom mbed-rtos mbed
Fork of CDMS_CODE_FM_28JAN2017 by
Diff: COM_SND_TM.h
- Revision:
- 46:8a85dab29a40
- Parent:
- 32:325359eb8d5c
diff -r b7a4aac53314 -r 8a85dab29a40 COM_SND_TM.h --- a/COM_SND_TM.h Sat Jan 09 10:40:09 2016 +0000 +++ b/COM_SND_TM.h Sat Jan 09 10:56:08 2016 +0000 @@ -1,7 +1,7 @@ //void adf_not_SDcard(); #define S_FRAME_SIZE 48 -#define ISR 10 +#define ISR 40 #define TM_FRAME_SIZE 134 //in bytes #define T_FRAME_SIZE 159 #define EOS_SIZE 120 @@ -165,7 +165,7 @@ next_type_structure(T1F_pointer);\ }\ }\ - TMframe_type1[0] = 1<<7 + ( (i-4)/10 )<<3;\ + TMframe_type1[0] = (1<<7) + (( (i-4)/10 )<<3);\ TMframe_type1[3] = crc16_gen(TMframe_type1,3);\ if(T1F_pointer == NULL && i>12){\ for( ; i < 134 ; i++){\