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

NRF52 hal_watchdog_init() doesn't fulfil interface #2404

Open
rafacouto opened this issue Oct 27, 2020 · 1 comment
Open

NRF52 hal_watchdog_init() doesn't fulfil interface #2404

rafacouto opened this issue Oct 27, 2020 · 1 comment

Comments

@rafacouto
Copy link
Contributor

Watchdog HAL documentation, function hal_watchdog_init() says it returns expiration time as positive value.

However, nrf52 implementation returns always 0.

Is the documentation wrong? the implementation?

// test assertion
assert(hal_watchdog_init(1000) > 0);
@sjanc
Copy link
Contributor

sjanc commented Oct 27, 2020

looks like documentation needs to be updated, I've checked few random MCUs and all return 0 on success

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

2 participants