mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-25 07:35:40 -07:00
cmdcode
This commit is contained in:
parent
e03501bc86
commit
9c63d09179
1 changed files with 1 additions and 1 deletions
|
@ -905,7 +905,7 @@ int DesfireFormatPICC(DesfireContext *dctx) {
|
|||
uint8_t respcode = 0xff;
|
||||
uint8_t resp[257] = {0};
|
||||
size_t resplen = 0;
|
||||
int res = DesfireExchange(dctx, MFDES_GET_UID, NULL, 0, &respcode, resp, &resplen);
|
||||
int res = DesfireExchange(dctx, MFDES_FORMAT_PICC, NULL, 0, &respcode, resp, &resplen);
|
||||
if (res != PM3_SUCCESS)
|
||||
return res;
|
||||
if (respcode != MFDES_S_OPERATION_OK || resplen != 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue