smdtWatchDogFeed

# smdtWatchDogFeed >i**描述:喂狗一次,对看门狗计数进行复位操作。** 函数:**public int smdtWatchDogFeed()** >#### 代码示例 >范例: SmdtManager smdt = SmdtManager.create(this); //使能看门狗 smdt smdtWatchDogEnable (1); //每10秒喂狗一次 smdt. smdtWatchDogFeed (); //关闭看门狗 smdt. smdtWatchDogEnable (0); |参数名/返回值| 类型 |说明 |举例| |-|-|-|-| |enable|char|1=使能看门狗<p>0=使能看门狗|1| |返回值| int | 预留| >d ### 注意 >1. 看门狗超时时间为60秒。请确保在60秒内最少调用一次喂狗函数,建议10到20秒喂一次狗。