summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/ftnoir_tracker_aruco.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2021-09-04 19:05:09 +0200
committerStanislaw Halik <sthalik@misaki.pl>2021-09-04 19:05:09 +0200
commit14af67c5a1a07744025cd7ff48ef29bc9f6c3daa (patch)
treed11e918271ba309dc53d4a97c68c8f0840821c2e /tracker-aruco/ftnoir_tracker_aruco.cpp
parent9672f127fdb9d98309f48b14148beb3bdd50ad6e (diff)
tracker/aruco: fix sleep with a lock held
Diffstat (limited to 'tracker-aruco/ftnoir_tracker_aruco.cpp')
-rw-r--r--tracker-aruco/ftnoir_tracker_aruco.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp
index f389ea2c..803b91dc 100644
--- a/tracker-aruco/ftnoir_tracker_aruco.cpp
+++ b/tracker-aruco/ftnoir_tracker_aruco.cpp
@@ -379,6 +379,7 @@ void aruco_tracker::run()
if (!res)
{
+ camera_mtx.unlock();
portable::sleep(100);
continue;
}