duo : wdt : RT_DEVICE_CTRL_WDT_SET_TIMEOUT 的单位问题
unicornx opened this issue · 1 comments
unicornx commented
参考 components/drivers/include/drivers/watchdog.h
#define RT_DEVICE_CTRL_WDT_GET_TIMEOUT (RT_DEVICE_CTRL_BASE(WDT) + 1) /* get timeout(in seconds) */
#define RT_DEVICE_CTRL_WDT_SET_TIMEOUT (RT_DEVICE_CTRL_BASE(WDT) + 2) /* set timeout(in seconds) */
RT_DEVICE_CTRL_WDT_SET_TIMEOUT 的单位是 s,但目前实现做成了 ms
unicornx commented
moved to RT-Thread#8932