summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
Diffstat (limited to 'logic')
-rw-r--r--logic/tracker.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp
index 3ba81af7..7411d3b4 100644
--- a/logic/tracker.cpp
+++ b/logic/tracker.cpp
@@ -14,6 +14,7 @@
#include "compat/sleep.hpp"
#include "compat/util.hpp"
+#include "compat/timer-resolution.hpp"
#include "tracker.h"
@@ -376,6 +377,8 @@ void Tracker::run()
{
setPriority(QThread::HighPriority);
+ timer_resolution res(1);
+
{
static constexpr const char* posechannels[6] = { "TX", "TY", "TZ", "Yaw", "Pitch", "Roll" };
static constexpr const char* datachannels[5] = { "dt", "raw", "corrected", "filtered", "mapped" };