From 45ff90dbb8caa897aa0ddd99c207c322203a00f0 Mon Sep 17 00:00:00 2001 From: SangYoun Kwak Date: Thu, 13 Oct 2022 14:08:24 +0900 Subject: [PATCH] Fix descriptions of sensor-internal.h according to the API checker script Warning messages from the API checker about the description of invalid parameter(return value) was ignored since the description is already mentioning the return value about invalid parameter. Change-Id: Ib272acbed14a98c94eaec964883c4d92d6c987e9 Signed-off-by: SangYoun Kwak --- include/sensor-internal.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/include/sensor-internal.h b/include/sensor-internal.h index 9c90969..177f233 100644 --- a/include/sensor-internal.h +++ b/include/sensor-internal.h @@ -14,8 +14,8 @@ * limitations under the License. */ -#ifndef __SENSOR_INTERNAL_H__ -#define __SENSOR_INTERNAL_H__ +#ifndef __TIZEN_SYSTEM_SENSOR_INTERNAL_H__ +#define __TIZEN_SYSTEM_SENSOR_INTERNAL_H__ #include #include @@ -32,7 +32,7 @@ extern "C" * @since_tizen 6.5 */ typedef enum { - SENSOR_LIDAR = 1000, + SENSOR_LIDAR = 1000, /**< Sensor type LIDAR */ } sensor_type_internel_e; /** @@ -73,7 +73,7 @@ typedef enum * @since_tizen 6.5 * * @param[in] type a sensor type of represensting a connected sensor - * @param[in] attribute an attribute to change + * @param[in] attr an attribute to change * @param[in] value an attribute value * @return 0 on success, otherwise a negative error value * @retval 0 Successful @@ -83,10 +83,11 @@ typedef enum int sensor_util_set_attribute_int(sensor_type_e type, sensor_attribute_e attr, int value); /** - * @brief Get the attribute to a connected sensor + * @brief Gets the attribute to a connected sensor. + * @since_tizen 6.5 * * @param[in] type a sensor type of represensting a connected sensor - * @param[in] attribute an attribute to get value + * @param[in] attr an attribute to get value * @param[out] value an attribute value * @return 0 on success, otherwise a negative error value * @retval 0 Successful @@ -154,4 +155,4 @@ int sensor_get_attribute_int(sensor_h sensor, sensor_handle_attribute_e attribut } #endif -#endif /* __SENSOR_INTERNAL_H__ */ +#endif /* __TIZEN_SYSTEM_SENSOR_INTERNAL_H__ */ -- 2.34.1