Turns out i'm retarded

No longer stopping the cardIO polling thread once we read a card.
This commit is contained in:
Farewell_ 2024-05-18 19:42:48 +02:00
parent ce6d0f1cae
commit ff5fd4bc5d

View File

@ -25,8 +25,9 @@ static unsigned int __stdcall reader_poll_thread_proc(void *ctx)
if (HasCard && !usingSmartCard) // A Cardio scan is already in progress, SmartCard doesn't need any extra cooldown.
{
Sleep(500);
return 0;
}
else
{
uint8_t UID[8] = {0};
@ -74,6 +75,7 @@ static unsigned int __stdcall reader_poll_thread_proc(void *ctx)
HasCard = true;
}
}
}
return 0;
}