mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-02-05 13:28:16 +00:00
d/vive/prober: Print error before device init.
This commit is contained in:
parent
7df50139de
commit
2fd6fe2f16
|
@ -273,6 +273,7 @@ vive_controller_found(struct xrt_prober *xp,
|
|||
struct os_hid_device *controller_hid = NULL;
|
||||
ret = xp->open_hid_interface(xp, dev, 0, &controller_hid);
|
||||
if (ret != 0) {
|
||||
VIVE_ERROR("Could not open Vive controller device.");
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue