diff --git a/src/xrt/drivers/survive/survive_driver.c b/src/xrt/drivers/survive/survive_driver.c index b29e1a105..8d1adc859 100644 --- a/src/xrt/drivers/survive/survive_driver.c +++ b/src/xrt/drivers/survive/survive_driver.c @@ -337,7 +337,7 @@ survive_device_get_tracked_pose(struct xrt_device *xdev, } static int -survive_controller_haptic_pulse(struct survive_device *survive, union xrt_output_value *value) +survive_controller_haptic_pulse(struct survive_device *survive, const union xrt_output_value *value) { float duration_seconds; if (value->vibration.duration_ns == XRT_MIN_HAPTIC_DURATION) {