Skip to content

Commit

Permalink
fix: hts_read_uid
Browse files Browse the repository at this point in the history
  • Loading branch information
douniwan5788 committed Sep 15, 2024
1 parent 662b194 commit e15356a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions armsrc/hitagS.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e15356a

Please sign in to comment.