d/vive/prober: Print error before device init.

This commit is contained in:
Lubosz Sarnecki 2020-07-02 18:07:43 +02:00
parent 7df50139de
commit 2fd6fe2f16

View file

@ -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;
}