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

Closed
unicornx opened this issue May 10, 2024 · 2 comments
Closed

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

unicornx opened this issue May 10, 2024 · 2 comments
Assignees
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek

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

@unicornx unicornx self-assigned this Jul 12, 2024
@unicornx unicornx added BSP: Cvitek BSP related with cvitek Arch: RISC-V BSP related with risc-v RT-Smart RT-Thread Smart related PR or issues labels Jul 12, 2024
@unicornx
Copy link
Contributor Author

已经合入 duo-v5.1.0 flyingcys#34,有待 upstream

@unicornx unicornx removed the RT-Smart RT-Thread Smart related PR or issues label Jul 16, 2024
@unicornx
Copy link
Contributor Author

fixed #9201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Arch: RISC-V BSP related with risc-v BSP: Cvitek BSP related with cvitek
Projects
None yet
Development

No branches or pull requests

1 participant