X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/c15d2bdc9b25da89931c767902639fa7e8c9b764..02306bac2dc44bd1de5422f9db127b231cde304f:/client/cmdlfem4x.c diff --git a/client/cmdlfem4x.c b/client/cmdlfem4x.c index 07f909ac..8c6461df 100644 --- a/client/cmdlfem4x.c +++ b/client/cmdlfem4x.c @@ -196,7 +196,7 @@ retest: */ int CmdEM410xSim(const char *Cmd) { - int i, n, j, h, binary[4], parity[4]; + int i, n, j, binary[4], parity[4]; char cmdp = param_getchar(Cmd, 0); uint8_t uid[5] = {0x00}; @@ -222,9 +222,6 @@ int CmdEM410xSim(const char *Cmd) /* clear our graph */ ClearGraph(0); - /* write it out a few times */ - //for (h = 0; h < 4; h++) - //{ /* write 9 start bits */ for (i = 0; i < 9; i++) AppendGraph(0, clock, 1); @@ -260,11 +257,9 @@ int CmdEM410xSim(const char *Cmd) AppendGraph(0, clock, parity[2]); AppendGraph(0, clock, parity[3]); - /* stop bit */ - AppendGraph(0, clock, 0); - //} - - /* modulate that biatch */ + /* stop bit */ + AppendGraph(0, clock, 0); + //CmdManchesterMod("64"); /* booyah! */