Closed unicornx closed 4 months ago
参考 components/drivers/include/drivers/watchdog.h
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
moved to https://github.com/RT-Thread/rt-thread/issues/8932
参考
components/drivers/include/drivers/watchdog.h
RT_DEVICE_CTRL_WDT_SET_TIMEOUT 的单位是 s,但目前实现做成了 ms