mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
fix missing crc calcs
This commit is contained in:
parent
3f6ea0f0fc
commit
cad63e7162
1 changed files with 2 additions and 3 deletions
|
@ -2946,9 +2946,6 @@ void SetTag15693Uid_v2(const uint8_t *uid) {
|
|||
{ISO15_REQ_DATARATE_HIGH, ISO15693_MAGIC_WRITE, 0x09, 0x40, uid[3], uid[2], uid[1], uid[0], 0x00, 0x00}
|
||||
};
|
||||
|
||||
AddCrc15(cmd[0], 8);
|
||||
AddCrc15(cmd[1], 8);
|
||||
|
||||
uint8_t buf[ISO15693_MAX_RESPONSE_LENGTH] = {0x00};
|
||||
|
||||
uint32_t start_time = 0;
|
||||
|
@ -2958,6 +2955,8 @@ void SetTag15693Uid_v2(const uint8_t *uid) {
|
|||
int res = PM3_SUCCESS;
|
||||
|
||||
for (int i = 0; i < 4; i++) {
|
||||
|
||||
AddCrc15(cmd[i], 8);
|
||||
res = SendDataTag(
|
||||
cmd[i],
|
||||
sizeof(cmd[i]),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue