werwere
Dependencies: FreescaleIAP SimpleDMA mbed-rtos mbed
Fork of COM_MNG_TMTC_SIMPLE_pl123 by
Diff: Structures.h
- Revision:
- 36:d1424f871de1
- Parent:
- 35:3beac900a034
--- a/Structures.h Thu Jan 07 10:35:40 2016 +0000 +++ b/Structures.h Fri Jan 08 08:02:36 2016 +0000 @@ -46,7 +46,7 @@ #define GETshort_or_long_tc(x) ( ( (x->flags) & SHORT_LONG_TC_MASK ) >> 4 ) #define GETcrc_pass(x) ( ( (x->flags) & CRC_MASK ) >> 3 ) #define GETabort_on_nack(x) ( ( (x->TC_string[1]) & 0x08 ) >> 3 ) -#define GETapid(x) ( ( (x->TC_string[1]) & 0xA0 ) >> 6 ) +#define GETapid(x) ( ( (x->TC_string[1]) & 0xc0 ) >> 6 ) #define GETexec_status(x) ( (x->flags) & EXEC_STATUS_MASK ) #define GETpacket_seq_count(x) (x->TC_string[0]) #define GETservice_type(x) ( (x->TC_string[2]) & 0xF0 )