remove bug with thread
This commit is contained in:
@@ -23,6 +23,7 @@ uint32_t rfid_reader::last_id() const
|
||||
|
||||
void rfid_reader::loop()
|
||||
{
|
||||
stop_thread = false;
|
||||
while(!stop_thread)
|
||||
{
|
||||
if(!mfrc.PICC_IsNewCardPresent())
|
||||
|
||||
Reference in New Issue
Block a user