diff --git a/doc/changes/xrt/mr.2246.md b/doc/changes/xrt/mr.2246.md new file mode 100644 index 000000000..a401ffdc8 --- /dev/null +++ b/doc/changes/xrt/mr.2246.md @@ -0,0 +1 @@ +Change: `xrt_device_update_inputs` returns `xrt_result_t` diff --git a/src/xrt/include/xrt/xrt_device.h b/src/xrt/include/xrt/xrt_device.h index b2a866ed5..279d1cb10 100644 --- a/src/xrt/include/xrt/xrt_device.h +++ b/src/xrt/include/xrt/xrt_device.h @@ -561,10 +561,11 @@ struct xrt_device * * @public @memberof xrt_device */ -static inline void +static inline xrt_result_t xrt_device_update_inputs(struct xrt_device *xdev) { xdev->update_inputs(xdev); + return XRT_SUCCESS; } /*!