Conflicts:
	armsrc/mifarecmd.c
	client/cmdhfmf.c
This commit is contained in:
iceman1001 2015-05-25 13:13:06 +02:00
commit c068ebb78f
2 changed files with 4 additions and 3 deletions

View file

@ -332,7 +332,7 @@ void MifareUReadCard(uint8_t arg0, uint16_t arg1, uint8_t arg2, uint8_t *datain)
if (MF_DBGLEVEL >= MF_DBG_EXTENDED) Dbprintf("Blocks read %d", countblocks);
countblocks *= 4;
cmd_send(CMD_ACK, 1, countblocks, BigBuf_max_traceLen(),0 , 0);
cmd_send(CMD_ACK, 1, countblocks, BigBuf_max_traceLen(), 0, 0);
FpgaWriteConfWord(FPGA_MAJOR_MODE_OFF);
LEDsoff();

View file

@ -1321,12 +1321,13 @@ int CmdHF14AMfESave(const char *Cmd)
// get filename (UID from memory)
if (mfEmlGetMem(buf, 0, 1)) {
PrintAndLog("Can\'t get UID from block: %d", 0);
len = sprintf(fnameptr, "dump");
len = sprintf(fnameptr, "dump");
fnameptr += len;
}
else {
for (j = 0; j < 7; j++, fnameptr += 2)
sprintf(fnameptr, "%02X", buf[j]);
sprintf(fnameptr, "%02X", buf[j]);
}
}
} else {
fnameptr += len;