add thread for rfid_reader
This commit is contained in:
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user