d/vive: remove duplicate range record error message

This commit is contained in:
Christoph Haag 2021-03-24 19:31:43 +01:00 committed by Jakob Bornecrantz
parent a2b49138e7
commit 1f25acfa94

View file

@ -1072,9 +1072,8 @@ vive_controller_create(struct os_hid_device *controller_hid, enum watchman_gen w
d->base.get_tracked_pose = vive_controller_device_get_tracked_pose;
d->base.set_output = vive_controller_device_set_output;
//! @todo: reading range report fails for powered off controller
if (vive_get_imu_range_report(d->controller_hid, &d->config.imu.gyro_range, &d->config.imu.acc_range) != 0) {
VIVE_ERROR(d, "Could not get watchman IMU range packet!");
// reading range report fails for powered off controller
free(d);
return 0;
}