mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2025-01-01 12:46:12 +00:00
t/common: Fix warning
This commit is contained in:
parent
19302a5d21
commit
65d88f00aa
|
@ -155,9 +155,9 @@ lighthouse_slam_track(struct u_system_devices *usysd)
|
|||
{
|
||||
struct xrt_slam_sinks *sinks = NULL;
|
||||
|
||||
#ifdef XRT_FEATURE_SLAM
|
||||
struct vive_device *d = (struct vive_device *)usysd->base.roles.head;
|
||||
|
||||
#ifdef XRT_FEATURE_SLAM
|
||||
int create_status = t_slam_create(&usysd->xfctx, NULL, &d->tracking.slam, &sinks);
|
||||
if (create_status != 0) {
|
||||
return NULL;
|
||||
|
|
Loading…
Reference in a new issue