\r
int CmdHF14AMfCSetBlk(const char *Cmd)\r
{\r
- uint8_t memBlock[16] = {0x00};\r
+ uint8_t block[16] = {0x00};\r
uint8_t blockNo = 0;\r
uint8_t params = MAGIC_SINGLE;\r
int res;\r
\r
blockNo = param_get8(Cmd, 0);\r
\r
- if (param_gethex(Cmd, 1, memBlock, 32)) {\r
+ if (param_gethex(Cmd, 1, block, 32)) {\r
PrintAndLog("block data must include 32 HEX symbols");\r
return 1;\r
}\r
if (ctmp == 'w' || ctmp == 'W')\r
params |= MAGIC_WIPE;\r
\r
- PrintAndLog("--block number:%2d data:%s", blockNo, sprint_hex(memBlock, 16));\r
+ PrintAndLog("--block number:%2d data:%s", blockNo, sprint_hex(block, 16));\r
\r
- res = mfCSetBlock(blockNo, memBlock, NULL, params);\r
+ res = mfCSetBlock(blockNo, block, NULL, params);\r
if (res) {\r
PrintAndLog("Can't write block. error=%d", res);\r
return 1;\r