Simple version of COM_MNG_TMTC_CODE for IITMSAT.
Dependencies: mbed-rtos mbed FreescaleIAP SimpleDMA
Diff: COM_SND_TM.h
- Revision:
- 46:8a85dab29a40
- Parent:
- 32:325359eb8d5c
--- 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++){\