Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

duo : wdt : RT_DEVICE_CTRL_WDT_SET_TIMEOUT 的单位问题 #8932

Open
unicornx opened this issue May 10, 2024 · 0 comments
Open

duo : wdt : RT_DEVICE_CTRL_WDT_SET_TIMEOUT 的单位问题 #8932

unicornx opened this issue May 10, 2024 · 0 comments

Comments

@unicornx
Copy link
Contributor

bsp/cvitek/cv18xx_risc-v/ master

参考 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant