Skip to content

Commit

Permalink
hitags sim: apply correct coding after select(uid)
Browse files Browse the repository at this point in the history
  • Loading branch information
n0emis committed Oct 26, 2024
1 parent 5848b31 commit 416049c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions armsrc/hitagS.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,20 @@ static void hts_handle_reader_command(uint8_t *rx, const size_t rxlen,

tx[4] = crc;
}
switch (tag.mode) {
case HT_STANDARD:
case HT_ADVANCED: {
m = MC4K;
break;
}
case HT_FAST_ADVANCED: {
m = MC8K;
break;
}
default: {
break;
}
}
}
break;
}
Expand Down

2 comments on commit 416049c

@iceman1001
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something to PR?

@n0emis
Copy link
Owner Author

@n0emis n0emis commented on 416049c Nov 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.