@iceman1001 s idea to output failure report

This commit is contained in:
marshmellow42 2017-02-17 14:48:19 -05:00
commit 61500621bc

View file

@ -719,7 +719,12 @@ int CmdEM4x05ReadWord(const char *Cmd) {
usePwd = true;
PrintAndLog("Reading address %02u | password %08X", addr, pwd);
}
return EM4x05ReadWord(addr, pwd, usePwd);
int result = EM4x05ReadWord(addr, pwd, usePwd);
if (result == -1)
PrintAndLog("Read failed");
return result;
}
int usage_lf_em_dump(void) {