sensing: sensing_sensor: fix doxygen warnings

Add missing parameter information in `SENSING_SENSORS_DT_DEFINE` and
`SENSING_SENSORS_DT_INST_DEFINE`.

Signed-off-by: Jordan Yates <jordan.yates@data61.csiro.au>
This commit is contained in:
Jordan Yates 2024-01-26 11:48:45 +10:00 committed by Carles Cufí
parent e3b9ecba5f
commit 374d354d16

View file

@ -206,6 +206,8 @@ extern const struct rtio_iodev_api __sensing_iodev_api;
*
* @param reg_ptr Pointer to the device's sensing_sensor_register_info.
*
* @param cb_list_ptr Pointer to devices callback list.
*
* @param init_fn Name of the init function of the driver.
*
* @param pm_device PM device resources reference (NULL if device does not use
@ -245,9 +247,8 @@ extern const struct rtio_iodev_api __sensing_iodev_api;
*
* @param ... other parameters as expected by SENSING_SENSORS_DT_DEFINE().
*/
#define SENSING_SENSORS_DT_INST_DEFINE(inst, reg_ptr, cb_list_ptr, ...) \
SENSING_SENSORS_DT_DEFINE(DT_DRV_INST(inst), reg_ptr, \
cb_list_ptr, __VA_ARGS__)
#define SENSING_SENSORS_DT_INST_DEFINE(inst, ...) \
SENSING_SENSORS_DT_DEFINE(DT_DRV_INST(inst), __VA_ARGS__)
/**
* @brief Get reporter handles of a given sensor instance by sensor type.