mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-23 00:21:53 +08:00
structs must be PACKED
This commit is contained in:
parent
4ba31596d5
commit
8bb762dc5b
1 changed files with 2 additions and 2 deletions
|
@ -49,7 +49,7 @@ typedef struct {
|
||||||
uint8_t addresses[4];
|
uint8_t addresses[4];
|
||||||
uint8_t address;
|
uint8_t address;
|
||||||
uint8_t word[4];
|
uint8_t word[4];
|
||||||
} em4x50_data_t;
|
} PACKED em4x50_data_t;
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
uint8_t byte[4];
|
uint8_t byte[4];
|
||||||
|
@ -60,6 +60,6 @@ typedef struct {
|
||||||
bool cparity[8];
|
bool cparity[8];
|
||||||
bool stopparity;
|
bool stopparity;
|
||||||
bool parity;
|
bool parity;
|
||||||
} em4x50_word_t;
|
} PACKED em4x50_word_t;
|
||||||
|
|
||||||
#endif /* EM4X50_H__ */
|
#endif /* EM4X50_H__ */
|
||||||
|
|
Loading…
Reference in a new issue