FIX: client crash for global id, and removing my previous fix.

This commit is contained in:
iceman1001 committed 2016-10-20 17:31:23 +02:00
1 parent c528cf3989
commit 36d87eeff0
1 file changed
+3 -8
+3 -8
View File
@@ -150,14 +150,9 @@ int CmdEM410xWatch(const char *Cmd)
int CmdEM410xWatchnSpoof(const char *Cmd) int CmdEM410xWatchnSpoof(const char *Cmd)
{ {
// loops if the captured ID was in XL-format. // loops if the captured ID was in XL-format.
uint8_t ans = 0; CmdEM410xWatch(Cmd);
do { PrintAndLog("# Replaying captured ID: %llu", g_em410xid);
ans = CmdEM410xWatch(Cmd); CmdLFaskSim("");
if ( ans ) {
PrintAndLog("# Replaying captured ID: %llu", g_em410xid);
CmdLFaskSim("");
}
} while ( !ans );
return 0; return 0;
} }