From f0c173ccba4aae8e93b19bde401902326dad8a41 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Mon, 20 May 2019 10:50:23 -0400 Subject: [PATCH] style --- client/cmdlfawid.c | 4 ++-- client/cmdlffdx.c | 2 +- client/cmdlfjablotron.c | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) 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;