add thread for rfid_reader

This commit is contained in:
Siegfried Kienzle
2017-06-15 18:22:49 +02:00
parent 509002b98f
commit 25eb469203
2 changed files with 6 additions and 4 deletions

View File

@@ -2,6 +2,7 @@
#define RFIDREADER_HPP_
#include <cstdint>
#include <thread>
#include "MFRC522.h"
@@ -17,6 +18,7 @@ public:
private:
MFRC522 mfrc;
uint32_t uid;
std::thread thread;
};