summaryrefslogtreecommitdiffhomepage
path: root/tracker-hatire
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:21:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2017-10-29 09:41:23 +0100
commit33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 (patch)
tree7deb1be34f9d7ecfca3bd22da6bf722ee19b5f4f /tracker-hatire
parent29bf7f94eab413e25914c3939d7ff19ef0cd4c48 (diff)
static constexpr -> constexpr
Diffstat (limited to 'tracker-hatire')
-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);
}