Ensure we only send one timesync per second

This commit is contained in:
Patrick Nicolas
2023-10-20 13:12:10 +02:00
parent 3473f00e0c
commit 5b527fdfcf
2 changed files with 7 additions and 12 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ class wivrn_session : public std::enable_shared_from_this<wivrn_session>
std::unique_ptr<wivrn_controller> right_hand;
clock_offset offset;
std::chrono::steady_clock::time_point offset_age{};
std::chrono::steady_clock::time_point offset_expiration{};
std::mutex csv_mutex;
std::ofstream feedback_csv;