mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-01-04 07:11:10 +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 address;
|
||||
uint8_t word[4];
|
||||
} em4x50_data_t;
|
||||
} PACKED em4x50_data_t;
|
||||
|
||||
typedef struct {
|
||||
uint8_t byte[4];
|
||||
|
@ -60,6 +60,6 @@ typedef struct {
|
|||
bool cparity[8];
|
||||
bool stopparity;
|
||||
bool parity;
|
||||
} em4x50_word_t;
|
||||
} PACKED em4x50_word_t;
|
||||
|
||||
#endif /* EM4X50_H__ */
|
||||
|
|
Loading…
Reference in a new issue