Tiny threads fixes & a little bit of safety
This commit is contained in:
parent
9a53709db0
commit
dde857dfb4
18 changed files with 85 additions and 154 deletions
|
|
@ -112,6 +112,8 @@ private:
|
|||
hid_device* dev;
|
||||
std::string firmware_version;
|
||||
std::string location;
|
||||
std::thread* keepalive_thread;
|
||||
std::atomic<bool> keepalive_thread_run;
|
||||
std::chrono::time_point<std::chrono::steady_clock> last_commit_time;
|
||||
|
||||
void SendFirmwareRequest();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue