summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire/thread.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-hatire/thread.cpp')
-rw-r--r--tracker-hatire/thread.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tracker-hatire/thread.cpp b/tracker-hatire/thread.cpp
index 1f976c35..cb338c4a 100644
--- a/tracker-hatire/thread.cpp
+++ b/tracker-hatire/thread.cpp
@@ -323,8 +323,8 @@ void hatire_thread::on_serial_read()
{
// qt can fire QSerialPort::readyRead() needlessly, causing a busy loop.
// see https://github.com/opentrack/opentrack/issues/327#issuecomment-207941003
- static constexpr int hz = 90;
- static constexpr int ms = 1000/hz;
+ constexpr int hz = 90;
+ constexpr int ms = 1000/hz;
portable::sleep(ms);
}