From 33aa2b6bbbf6edbe2d0173a03a9869e7ed7a2660 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sun, 29 Oct 2017 09:21:41 +0100 Subject: static constexpr -> constexpr --- tracker-hatire/thread.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tracker-hatire') 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); } -- cgit v1.2.3