use attribute(packed) where apropriate
git-svn-id: https://svn.gnumonks.org/trunk/librfid@1868 e0336214-984f-0b4b-a45f-81c69e1f0ede
This commit is contained in:
parent
2f8c4ec417
commit
b80d2b99aa
|
@ -33,7 +33,7 @@ struct iso14443a_atqa {
|
|||
uid_size:2;
|
||||
u_int8_t proprietary:4,
|
||||
rfu2:4;
|
||||
};
|
||||
} __attribute__((packed));
|
||||
|
||||
#define ISO14443A_HLTA 0x5000
|
||||
|
||||
|
@ -42,7 +42,7 @@ struct iso14443a_anticol_cmd {
|
|||
unsigned char sel_code;
|
||||
unsigned char nvb;
|
||||
unsigned char uid_bits[5];
|
||||
};
|
||||
} __attribute__((packed));
|
||||
|
||||
enum iso14443a_anticol_sel_code {
|
||||
ISO14443A_AC_SEL_CODE_CL1 = 0x93,
|
||||
|
|
Loading…
Reference in New Issue