diff --git a/client/cmdlfawid.c b/client/cmdlfawid.c index b19149987..1fc642e10 100644 --- a/client/cmdlfawid.c +++ b/client/cmdlfawid.c @@ -397,12 +397,12 @@ static int CmdAWIDClone(const char *Cmd) { clearCommandBuffer(); t55xx_write_block_t ng; - + ng.data = blocks[i]; ng.pwd = 0; ng.blockno = i; ng.flags = 0; - + SendCommandNG(CMD_T55XX_WRITE_BLOCK, (uint8_t *)&ng, sizeof(ng)); if (!WaitForResponseTimeout(CMD_T55XX_WRITE_BLOCK, &resp, T55XX_WRITE_TIMEOUT)) { PrintAndLogEx(WARNING, "Error occurred, device did not respond during write operation."); diff --git a/client/cmdlffdx.c b/client/cmdlffdx.c index 2ce1b1cb7..1db282c7d 100644 --- a/client/cmdlffdx.c +++ b/client/cmdlffdx.c @@ -297,7 +297,7 @@ static int CmdFdxClone(const char *Cmd) { ng.pwd = 0; ng.blockno = i; ng.flags = 0; - + SendCommandNG(CMD_T55XX_WRITE_BLOCK, (uint8_t *)&ng, sizeof(ng)); if (!WaitForResponseTimeout(CMD_T55XX_WRITE_BLOCK, &resp, T55XX_WRITE_TIMEOUT)) { PrintAndLogEx(WARNING, "Error occurred, device did not respond during write operation."); diff --git a/client/cmdlfjablotron.c b/client/cmdlfjablotron.c index 8189f01ed..768a7a8ca 100644 --- a/client/cmdlfjablotron.c +++ b/client/cmdlfjablotron.c @@ -165,14 +165,14 @@ static int CmdJablotronClone(const char *Cmd) { conn.block_after_ACK = false; } clearCommandBuffer(); - + t55xx_write_block_t ng; ng.data = blocks[i]; ng.pwd = 0; ng.blockno = i; ng.flags = 0; - SendCommandNG(CMD_T55XX_WRITE_BLOCK, (uint8_t *)&ng, sizeof(ng)); + SendCommandNG(CMD_T55XX_WRITE_BLOCK, (uint8_t *)&ng, sizeof(ng)); if (!WaitForResponseTimeout(CMD_T55XX_WRITE_BLOCK, &resp, T55XX_WRITE_TIMEOUT)) { PrintAndLogEx(WARNING, "Error occurred, device did not respond during write operation."); return -1;