]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
delete opposite states fix
authormerlokk <olegmsn@gmail.com>
Wed, 17 Jan 2018 12:10:26 +0000 (14:10 +0200)
committermerlokk <olegmsn@gmail.com>
Wed, 17 Jan 2018 12:10:26 +0000 (14:10 +0200)
armsrc/iso14443a.c

index bd37fe9acf4050772f790f0eb299d60ad8b0b628..6703cc65c7286cd041e19fda40b29e02604e16a2 100644 (file)
@@ -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;
                        }
                }
 
Impressum, Datenschutz