remove bug with thread

This commit is contained in:
Siegfried Kienzle
2017-06-15 19:18:02 +02:00
parent c9bbfff992
commit d522a24c0f

View File

@@ -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())