diff options
| author | Chen Wang <[email protected]> | 2024-06-13 14:24:52 +0800 |
|---|---|---|
| committer | Chen Wang <[email protected]> | 2024-07-17 16:56:07 +0800 |
| commit | 1bcf232d12d49303cd2eb0143c3aa1855dffd916 (patch) | |
| tree | 21cb5fb4c8068e79f79f4f6a155b1bc9d808695b /libcpu | |
| parent | 2d5eb2669f3fd9b4a1b52cf25d19a3915b767cae (diff) | |
bsp: cvitek: fix the wdt timeout unit problem
See `components/drivers/include/drivers/watchdog.h`
maco definition of
RT_DEVICE_CTRL_WDT_GET_TIMEOUT
RT_DEVICE_CTRL_WDT_SET_TIMEOUT
RT_DEVICE_CTRL_WDT_GET_TIMELEFT
The wdt timeout time unit is defined as seconds in the API, but
the code incorrectly uses ms.
Correct this and comply with the API definition.
Signed-off-by: Chen Wang <[email protected]>
Reviewed-by: Yuanjie He <[email protected]>
Reviewed-by: Shell <[email protected]>
Diffstat (limited to 'libcpu')
0 files changed, 0 insertions, 0 deletions
