mirror of
https://github.com/Proxmark/proxmark3.git
synced 2024-09-21 15:26:35 +08:00
hf mf eset: reuse mfEmlSetMem().
This commit is contained in:
parent
380e0d086c
commit
36545f0a56
|
@ -1685,10 +1685,7 @@ int CmdHF14AMfESet(const char *Cmd)
|
||||||
}
|
}
|
||||||
|
|
||||||
// 1 - blocks count
|
// 1 - blocks count
|
||||||
UsbCommand c = {CMD_MIFARE_EML_MEMSET, {blockNo, 1, 0}};
|
return mfEmlSetMem(memBlock, blockNo, 1);
|
||||||
memcpy(c.d.asBytes, memBlock, 16);
|
|
||||||
SendCommand(&c);
|
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue