mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 05:43:48 -07:00
fix: hts_read_uid
This commit is contained in:
parent
662b194e56
commit
e15356ab0e
1 changed files with 1 additions and 0 deletions
|
@ -1624,6 +1624,7 @@ int hts_read_uid(uint32_t *uid, bool ledcontrol, bool send_answer) {
|
|||
int status = PM3_SUCCESS;
|
||||
if (rxlen == 32) {
|
||||
|
||||
memcpy(&tag.pages[0], rx, HITAGS_PAGE_SIZE);
|
||||
tag.uid = (rx[3] << 24 | rx[2] << 16 | rx[1] << 8 | rx[0]);
|
||||
if (uid) {
|
||||
*uid = tag.uid;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue