a/tracking: Fix data waiting logic in PSVR tracking

This commit is contained in:
Jakob Bornecrantz 2022-10-27 14:23:19 +01:00 committed by Ryan Pavlik
parent f32eb0d662
commit 0f17fa0f5f

View file

@ -1825,7 +1825,7 @@ run(TrackerPSVR &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);
/*