Merge pull request #2538 from sillygir1/sniffing-fix

Fix hf 14a sniff ignoring reader commands
This commit is contained in:
Iceman 2024-09-24 12:36:39 +03:00 committed by GitHub
commit 9129cd6442
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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