From 86ae6a5bb19066ec77795a2fd11e99899baab97a Mon Sep 17 00:00:00 2001 From: Jakob Bornecrantz Date: Mon, 25 Jul 2022 11:53:46 +0100 Subject: [PATCH] d/wmr: Fix warning --- src/xrt/drivers/wmr/wmr_hmd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/xrt/drivers/wmr/wmr_hmd.c b/src/xrt/drivers/wmr/wmr_hmd.c index 56010368e..85747654f 100644 --- a/src/xrt/drivers/wmr/wmr_hmd.c +++ b/src/xrt/drivers/wmr/wmr_hmd.c @@ -70,8 +70,10 @@ DEBUG_GET_ONCE_BOOL_OPTION(wmr_slam, "WMR_SLAM", true) //! Specifies whether the user wants to use the hand tracker. DEBUG_GET_ONCE_BOOL_OPTION(wmr_handtracking, "WMR_HANDTRACKING", true) +#ifdef XRT_FEATURE_SLAM //! Whether to submit samples to the SLAM tracker from the start. DEBUG_GET_ONCE_OPTION(slam_submit_from_start, "SLAM_SUBMIT_FROM_START", NULL) +#endif static int wmr_hmd_activate_reverb(struct wmr_hmd *wh);