summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-05-06 09:17:59 +0200
committerStanislaw Halik <sthalik@misaki.pl>2016-05-06 09:18:24 +0200
commit469371da434e1fcd1cbe51ce8b7e493ea7580a7f (patch)
tree80bf08b9b09939efaf6b9474d86a54d7f9eb8dc1
parent84d4f021259e589498229b65dd89cf4948022bd6 (diff)
tracker/hatire: fix sleep in ready_read event handler for debug case
-rwxr-xr-xtracker-hatire/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-hatire/thread.cpp b/tracker-hatire/thread.cpp
index e0bd445f..dbb146ee 100755
--- a/tracker-hatire/thread.cpp
+++ b/tracker-hatire/thread.cpp
@@ -132,7 +132,7 @@ void hatire_thread::run()
com_port.open(QIODevice::ReadOnly);
connect(&read_timer, &QTimer::timeout, this, &hatire_thread::on_serial_read, Qt::DirectConnection);
- read_timer.start(16);
+ read_timer.start(1);
#else
connect(&com_port, &serial_t::readyRead, this, &hatire_thread::on_serial_read, Qt::DirectConnection);
#endif