mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-06-07 08:51:53 +00:00
fix: hts_read_uid
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user