a/tracking: Fix data waiting logic in PSMV tracking

This commit is contained in:
Jakob Bornecrantz 2022-11-23 17:22:01 +00:00 committed by Jakob Bornecrantz
parent dd3e285a5d
commit f552aacb87

View file

@ -357,7 +357,7 @@ run(TrackerPSMV &t)
while (os_thread_helper_is_running_locked(&t.oth)) {
// No data
if (!t.has_imu || t.frame == NULL) {
if (!t.has_imu && t.frame == NULL) {
os_thread_helper_wait_locked(&t.oth);
/*