Turns out i'm retarded
No longer stopping the cardIO polling thread once we read a card.
This commit is contained in:
parent
ce6d0f1cae
commit
ff5fd4bc5d
@ -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.
|
if (HasCard && !usingSmartCard) // A Cardio scan is already in progress, SmartCard doesn't need any extra cooldown.
|
||||||
{
|
{
|
||||||
Sleep(500);
|
Sleep(500);
|
||||||
return 0;
|
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
|
||||||
uint8_t UID[8] = {0};
|
uint8_t UID[8] = {0};
|
||||||
|
|
||||||
@ -74,6 +75,7 @@ static unsigned int __stdcall reader_poll_thread_proc(void *ctx)
|
|||||||
HasCard = true;
|
HasCard = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user