xrt: Fix doc errors

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2379>
This commit is contained in:
Rylie Pavlik 2024-12-10 10:58:01 -06:00 committed by Marge Bot
parent 2cce3a06a0
commit 2189722680
2 changed files with 6 additions and 6 deletions

View file

@ -464,10 +464,10 @@ xrt_space_overseer_get_tracking_origin_offset(struct xrt_space_overseer *xso,
*/
static inline xrt_result_t
xrt_space_overseer_set_tracking_origin_offset(struct xrt_space_overseer *xso,
struct xrt_tracking_origin *xt0,
struct xrt_tracking_origin *xto,
const struct xrt_pose *offset)
{
return xso->set_tracking_origin_offset(xso, xt0, offset);
return xso->set_tracking_origin_offset(xso, xto, offset);
}
/*!

View file

@ -306,8 +306,8 @@ struct xrt_system_devices
* Increment the usage count of a feature.
* When the feature is used for the first time, then the feature will be begun.
*
* @param xsysd Pointer to self
* @param feature Which feature is being counted.
* @param xsysd Pointer to self
* @param type Which feature is being counted.
*/
xrt_result_t (*feature_inc)(struct xrt_system_devices *xsysd, enum xrt_device_feature_type type);
@ -315,8 +315,8 @@ struct xrt_system_devices
* Decrement the usage count of a feature.
* When the feature is not used by the current application any more, then the feature will be ended.
*
* @param xsysd Pointer to self
* @param feature Which feature is being counted.
* @param xsysd Pointer to self
* @param type Which feature is being counted.
*/
xrt_result_t (*feature_dec)(struct xrt_system_devices *xsysd, enum xrt_device_feature_type type);