From: merlokk Date: Wed, 17 Jan 2018 12:10:26 +0000 (+0200) Subject: delete opposite states fix X-Git-Tag: v3.1.0~84^2~6 X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/35cc71b0752a8595c96f127eced98112fe2a5a0b?ds=sidebyside delete opposite states fix --- diff --git a/armsrc/iso14443a.c b/armsrc/iso14443a.c index bd37fe9a..6703cc65 100644 --- a/armsrc/iso14443a.c +++ b/armsrc/iso14443a.c @@ -2551,7 +2551,6 @@ void RAMFUNC SniffMifare(uint8_t param) { DemodReset(); } ReaderIsActive = (Uart.state != STATE_UNSYNCD); - TagIsActive = !ReaderIsActive; } if(!ReaderIsActive) { // no need to try decoding tag data if the reader is sending @@ -2568,7 +2567,6 @@ void RAMFUNC SniffMifare(uint8_t param) { UartInit(receivedCmd, receivedCmdPar); } TagIsActive = (Demod.state != DEMOD_UNSYNCD); - ReaderIsActive = !TagIsActive; } }