fix: skip fast-path detection for known spools when a scan request is active

This commit is contained in:
Manuel Weiser committed 2026-05-28 18:26:08 +02:00
1 parent f3f51cd6f8
commit 9b93d219f9
1 file changed
+2 -1
+2 -1
View File
@@ -2107,7 +2107,8 @@ void scanRfidTask(void * parameter) {
{
activeTagUuid = uidString;
// Try fast-path detection first for known spools
if (quickSpoolIdCheck(uidString)) {
// Skip fast-path when a scan request is active — full NDEF read needed to send tag data
if (!scanRequestActive && quickSpoolIdCheck(uidString)) {
Serial.println("✓ FAST-PATH: Tag processed quickly, skipping full read");
// Set reader back to idle for next scan
nfcReaderState = NFC_READ_SUCCESS;