X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/e719470c461e38fb3ad99416d06fa1b5b19ff357..a1ab594e244c1554b2e997efa8813e8ec3b80017:/armsrc/legicrf.c diff --git a/armsrc/legicrf.c b/armsrc/legicrf.c index c732ee14..c48aa0bc 100644 --- a/armsrc/legicrf.c +++ b/armsrc/legicrf.c @@ -669,11 +669,8 @@ void LegicRfRawWriter(int offset, int byte) { LED_B_OFF(); LED_C_OFF(); return; - - WDT_HIT(); - byte_index++; - if(byte_index & 0x10) LED_C_ON(); else LED_C_OFF(); } + LED_B_OFF(); LED_C_OFF(); DbpString("write successful"); @@ -1572,7 +1569,7 @@ static void CodeAndTransmitLegicAsReader(const uint8_t *cmd, uint8_t cmdlen, int TransmitForLegic(); if (tracing) { uint8_t parity[1] = {0x00}; - LogTrace(cmd, bits, 0, 0, parity, TRUE); + LogTrace(cmd, cmdlen, 0, 0, parity, TRUE); } }