From ae466ce70e78d3717c0fed1d48360d6212498500 Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Thu, 9 Jan 2020 16:32:07 -0600 Subject: [PATCH] d/vive: Fix typos. --- src/xrt/drivers/vive/vive_device.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xrt/drivers/vive/vive_device.c b/src/xrt/drivers/vive/vive_device.c index 2970c01d5..09cafc134 100644 --- a/src/xrt/drivers/vive/vive_device.c +++ b/src/xrt/drivers/vive/vive_device.c @@ -322,13 +322,13 @@ update_imu(struct vive_device *d, struct vive_imu_report *report) switch (d->variant) { case VIVE_VARIANT_VIVE: - // flip all execpt x axis + // flip all except x axis angular_velocity.x = +angular_velocity.x; angular_velocity.y = -angular_velocity.y; angular_velocity.z = -angular_velocity.z; break; case VIVE_VARIANT_PRO: - // flip all execpt y axis + // flip all except y axis angular_velocity.x = -angular_velocity.x; angular_velocity.y = +angular_velocity.y; angular_velocity.z = -angular_velocity.z;