From 042ab15b7d39613afe5b79514de14a480338e2bd Mon Sep 17 00:00:00 2001 From: yinshuqing Date: Wed, 15 Sep 2021 15:02:45 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=93=E5=BC=80=E7=9C=8B=E9=97=A8=E7=8B=97?= =?UTF-8?q?=E8=AE=BE=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yinshuqing --- zh-cn/device-dev/driver/driver-platform-watchdog-des.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/zh-cn/device-dev/driver/driver-platform-watchdog-des.md b/zh-cn/device-dev/driver/driver-platform-watchdog-des.md index b6eba28de35..57f2d55bc5f 100644 --- a/zh-cn/device-dev/driver/driver-platform-watchdog-des.md +++ b/zh-cn/device-dev/driver/driver-platform-watchdog-des.md @@ -104,7 +104,7 @@ 在操作看门狗之前,需要使用WatchdogOpen打开一个看门狗设备,一个系统可能有多个看门狗,通过ID号来打开指定的看门狗设备: -int32\_t WatchdogOpen\(int16\_t wdtId\); +DevHandle WatchdogOpen\(int16\_t wdtId\); **表 2** WatchdogOpen参数和返回值描述 @@ -201,7 +201,7 @@ if (ret != 0) { ### 设置超时时间 -int32\_t WatchdogSetTimeout\(PalHandle \*handle, uint32\_t seconds\); +int32\_t WatchdogSetTimeout\(DevHandle \*handle, uint32\_t seconds\); **表 4** WatchdogSetTimeout参数和返回值描述 @@ -253,7 +253,7 @@ if (ret != 0) { ### 获取超时时间 -int32\_t WatchdogGetTimeout\(PalHandle \*handle, uint32\_t \*seconds\); +int32\_t WatchdogGetTimeout\(DevHandle \*handle, uint32\_t \*seconds\); **表 5** WatchdogGetTimeout参数和返回值描述 -- Gitee