fix: hf 14a sniff ignoring reader commands

This commit is contained in:
sillygir1 2024-09-24 05:01:36 +04:00
commit 78150d8191

View file

@ -803,9 +803,10 @@ void RAMFUNC SniffIso14443a(uint8_t param) {
// check - if there is a short 7bit request from reader // check - if there is a short 7bit request from reader
if ((!triggered) && (param & 0x02) && (Uart.len == 1) && (Uart.bitCount == 7)) { if ((!triggered) && (param & 0x02) && (Uart.len == 1) && (Uart.bitCount == 7)) {
triggered = true; triggered = true;
}
if (triggered) {
if (!LogTrace(receivedCmd, if (!LogTrace(receivedCmd,
Uart.len, Uart.len,
Uart.startTime * 16 - DELAY_READER_AIR2ARM_AS_SNIFFER, Uart.startTime * 16 - DELAY_READER_AIR2ARM_AS_SNIFFER,