mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
added PACKED attribute for structures and reorganize include folder
This commit is contained in:
parent
19469fc676
commit
20d13d5509
18 changed files with 204 additions and 183 deletions
|
@ -60,7 +60,7 @@ local function parse14443a(data)
|
|||
uint8_t sak;
|
||||
uint8_t ats_len;
|
||||
uint8_t ats[256];
|
||||
} __attribute__((__packed__)) iso14a_card_select_t;
|
||||
} PACKED iso14a_card_select_t;
|
||||
--]]
|
||||
|
||||
local count, uid, uidlen, atqa, sak, ats_len, ats = bin.unpack('H10CH2CCH', data)
|
||||
|
|
|
@ -39,7 +39,7 @@ local function parse1443b(data)
|
|||
uint8_t atqb[7];
|
||||
uint8_t chipid;
|
||||
uint8_t cid;
|
||||
} __attribute__((__packed__)) iso14b_card_select_t;
|
||||
} PACKED iso14b_card_select_t;
|
||||
|
||||
--]]
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue