diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-04 19:05:09 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-04 19:05:09 +0200 |
commit | 14af67c5a1a07744025cd7ff48ef29bc9f6c3daa (patch) | |
tree | d11e918271ba309dc53d4a97c68c8f0840821c2e /tracker-aruco | |
parent | 9672f127fdb9d98309f48b14148beb3bdd50ad6e (diff) |
tracker/aruco: fix sleep with a lock held
Diffstat (limited to 'tracker-aruco')
-rw-r--r-- | tracker-aruco/ftnoir_tracker_aruco.cpp | 1 |
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; } |