From ba8f910d7a59be2979e513f28f645571e5c95920 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 27 Nov 2013 19:13:41 +0100 Subject: hatire: use less-precise timers, for speed Signed-off-by: Stanislaw Halik --- ftnoir_tracker_hatire/ftnoir_tracker_hat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } } -- cgit v1.2.3