mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-05-12 11:18:11 -07: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