]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
hf mf eset: reuse mfEmlSetMem().
[proxmark3-svn] / client / cmdhfmf.c
index d0320148bf1ddec43d511c6787e7a4fe52b6f792..ddfb1c024f12ed79763149c8b17813cb7b7d653f 100644 (file)
@@ -1685,10 +1685,7 @@ int CmdHF14AMfESet(const char *Cmd)
        }\r
 \r
        //  1 - blocks count\r
-       UsbCommand c = {CMD_MIFARE_EML_MEMSET, {blockNo, 1, 0}};\r
-       memcpy(c.d.asBytes, memBlock, 16);\r
-       SendCommand(&c);\r
-       return 0;\r
+       return mfEmlSetMem(memBlock, blockNo, 1);\r
 }\r
 \r
 \r
Impressum, Datenschutz