mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
a/tracking: Fix data waiting logic in PSMV tracking
This commit is contained in:
parent
dd3e285a5d
commit
f552aacb87
|
@ -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);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue