Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Monado
Monado
Commits
9eedb05f
Commit
9eedb05f
authored
Nov 01, 2019
by
Jakob Bornecrantz
Committed by
Jakob Bornecrantz
Nov 05, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
st/prober: Do not autoprobe if we have a HMD
parent
9183f53c
Pipeline
#76325
passed with stages
in 3 minutes and 44 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
src/xrt/state_trackers/prober/p_prober.c
src/xrt/state_trackers/prober/p_prober.c
+9
-0
No files found.
src/xrt/state_trackers/prober/p_prober.c
View file @
9eedb05f
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment