summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-11-27 19:13:41 +0100
committerStanislaw Halik <sthalik@misaki.pl>2013-11-27 19:13:41 +0100
commitba8f910d7a59be2979e513f28f645571e5c95920 (patch)
treed8a5f7dbe764a4a1e8dd937c961056a601cf2da7
parentc30602927bcd0865d7581e3fea31e65a6a73d592 (diff)
hatire: use less-precise timers, for speed
Signed-off-by: Stanislaw Halik <sthalik@misaki.pl>
-rw-r--r--ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp b/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
index 99baf75b..d7bcffc1 100644
--- a/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
+++ b/ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp
@@ -129,7 +129,7 @@ void FTNoIR_Tracker::run() {
SerialPort->read(1);
}
}
- usleep(10000);
+ msleep(10);
}
}