delete opposite states fix

This commit is contained in:
merlokk 2018-01-17 14:10:26 +02:00
parent 3544b99715
commit 35cc71b075

View 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;
}
}