From 6f46fcc25186b606e52fcdb6ebd07910efe1e35d Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Mon, 26 Apr 2021 15:06:15 -0500 Subject: [PATCH] aux/vive: Port to using new zero/identity defines --- src/xrt/auxiliary/vive/vive_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/auxiliary/vive/vive_config.c b/src/xrt/auxiliary/vive/vive_config.c index 8211b2873..eb869e51c 100644 --- a/src/xrt/auxiliary/vive/vive_config.c +++ b/src/xrt/auxiliary/vive/vive_config.c @@ -162,7 +162,7 @@ _get_lighthouse(struct vive_config *d, const cJSON *json) // Transform the sensors into IMU space. - struct xrt_pose trackref_to_imu = {0}; + struct xrt_pose trackref_to_imu = XRT_POSE_IDENTITY; math_pose_invert(&d->imu.trackref, &trackref_to_imu); for (i = 0; i < d->lh.num_sensors; i++) {