From 7928f298a1959e0494d2cbab0ddea9359569bacc Mon Sep 17 00:00:00 2001 From: wusongqing Date: Thu, 18 Aug 2022 12:00:00 +0800 Subject: [PATCH] update docs Signed-off-by: wusongqing --- zh-cn/device_api/hdi/sensor/sensor_if.h | 4 +--- zh-cn/device_api/hdi/vibrator/vibrator_if.h | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/zh-cn/device_api/hdi/sensor/sensor_if.h b/zh-cn/device_api/hdi/sensor/sensor_if.h index 4e5a51c9..49df0277 100644 --- a/zh-cn/device_api/hdi/sensor/sensor_if.h +++ b/zh-cn/device_api/hdi/sensor/sensor_if.h @@ -172,9 +172,6 @@ struct SensorInterface { /** * @brief 创建传感器接口实例。 * - * @param sensorId 表示传感器ID。有关详细信息,详见{@link SensorTypeTag}。 - * @param cb 表示要注册的回调函数。有关详细信息,详见{@link RecordDataCallback}。 - * * @return 如果创建实例成功,则返回非零值。 * @return 如果创建实例失败,则返回负值。 * @@ -188,6 +185,7 @@ const struct SensorInterface *NewSensorInterfaceInstance(void); * * @return 如果释放实例成功,则返回0。 * @return 如果释放实例失败,则返回负值。 + * * @since 2.2 * @version 1.0 */ diff --git a/zh-cn/device_api/hdi/vibrator/vibrator_if.h b/zh-cn/device_api/hdi/vibrator/vibrator_if.h index 0b73cbb1..0ce96e51 100644 --- a/zh-cn/device_api/hdi/vibrator/vibrator_if.h +++ b/zh-cn/device_api/hdi/vibrator/vibrator_if.h @@ -71,7 +71,7 @@ struct VibratorInterface { /** * @brief 控制马达以预置效果执行周期性振动。 * - * 单次振动与周期振动相互排斥。在执行一次性振动之前,需退出周期性振动。 + * 单次振动与周期振动相互排斥。在执行周期性振动之前,需退出一次性振动。 * * @param effectType 指向指示预置效果类型的指针。 * -- Gitee