Repo for COM_MNG_TMTC_SIMPLE for integration with adf
Fork of COM_MNG_TMTC_SIMPLE by
Diff: Structures.h
- Revision:
- 6:79d422d1ed42
- Parent:
- 4:104dd82c99b8
- Child:
- 8:d1951bbdcdd8
--- a/Structures.h Wed Dec 30 06:36:38 2015 +0000 +++ b/Structures.h Thu Dec 31 06:43:13 2015 +0000 @@ -51,7 +51,7 @@ #define GETpacket_seq_count(x) (x->TC_string[0]) //x should be a Base_tc pointer -//y should be a 16-bit number with relevant data in LSB +//y should be a 8-bit number with relevant data in LSB //use in a seperate line with ; at the end: similar to a function #define PUTshort_or_long(x,y) x->flags = ( (x->flags) & ~(SHORT_LONG_TC_MASK)) | ( (y << 4) & SHORT_LONG_TC_MASK ) #define PUTcrc_pass(x,y) x->flags = ( (x->flags) & ~(CRC_MASK)) | ( (y << 3) & CRC_MASK)