From 4d411723a1ccb00b6c8993d3333c9f52643594eb Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Tue, 12 Nov 2019 11:39:25 -0600 Subject: [PATCH] t/psvr: Fix parameter names --- src/xrt/auxiliary/tracking/t_tracker_psvr.cpp | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/xrt/auxiliary/tracking/t_tracker_psvr.cpp b/src/xrt/auxiliary/tracking/t_tracker_psvr.cpp index f0e996ec0..81d4cb8b7 100644 --- a/src/xrt/auxiliary/tracking/t_tracker_psvr.cpp +++ b/src/xrt/auxiliary/tracking/t_tracker_psvr.cpp @@ -181,28 +181,28 @@ break_apart(TrackerPSVR &t) */ extern "C" void -t_psvr_push_imu(struct xrt_tracked_psvr *xtmv, +t_psvr_push_imu(struct xrt_tracked_psvr *xtvr, timepoint_ns timestamp_ns, struct xrt_tracking_sample *sample) { - auto &t = *container_of(xtmv, TrackerPSVR, base); + auto &t = *container_of(xtvr, TrackerPSVR, base); imu_data(t, timestamp_ns, sample); } extern "C" void -t_psvr_get_tracked_pose(struct xrt_tracked_psvr *xtmv, +t_psvr_get_tracked_pose(struct xrt_tracked_psvr *xtvr, struct time_state *timestate, timepoint_ns when_ns, struct xrt_space_relation *out_relation) { - auto &t = *container_of(xtmv, TrackerPSVR, base); + auto &t = *container_of(xtvr, TrackerPSVR, base); get_pose(t, timestate, when_ns, out_relation); } extern "C" void -t_psvr_fake_destroy(struct xrt_tracked_psvr *xtmv) +t_psvr_fake_destroy(struct xrt_tracked_psvr *xtvr) { - auto &t = *container_of(xtmv, TrackerPSVR, base); + auto &t = *container_of(xtvr, TrackerPSVR, base); (void)t; // Not the real destroy function } @@ -247,9 +247,9 @@ t_psvr_run(void *ptr) */ extern "C" int -t_psvr_start(struct xrt_tracked_psvr *xtmv) +t_psvr_start(struct xrt_tracked_psvr *xtvr) { - auto &t = *container_of(xtmv, TrackerPSVR, base); + auto &t = *container_of(xtvr, TrackerPSVR, base); int ret; ret = os_thread_helper_start(&t.oth, t_psvr_run, &t); @@ -262,7 +262,7 @@ t_psvr_start(struct xrt_tracked_psvr *xtmv) extern "C" int t_psvr_create(struct xrt_frame_context *xfctx, - struct xrt_tracked_psvr **out_xtmv, + struct xrt_tracked_psvr **out_xtvr, struct xrt_frame_sink **out_sink) { fprintf(stderr, "%s\n", __func__); @@ -297,7 +297,7 @@ t_psvr_create(struct xrt_frame_context *xfctx, xrt_frame_context_add(xfctx, &t.node); *out_sink = &t.sink; - *out_xtmv = &t.base; + *out_xtvr = &t.base; return 0; }