Commit 9eedb05f authored by Jakob Bornecrantz's avatar Jakob Bornecrantz Committed by Jakob Bornecrantz

st/prober: Do not autoprobe if we have a HMD

parent 9183f53c
Pipeline #76325 passed with stages
in 3 minutes and 44 seconds
......@@ -591,6 +591,15 @@ select_device(struct xrt_prober *xp,
free(dev_list);
for (int i = 0; i < MAX_AUTO_PROBERS && p->auto_probers[i]; i++) {
/*
* If we have found a HMD stop checking the auto probers. This
* is mostly to stop OpenHMD and Monado fighting over devices.
*/
if (xdevs[0] != NULL) {
break;
}
struct xrt_device *xdev =
p->auto_probers[i]->lelo_dallas_autoprobe(
p->auto_probers[i], xp);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment