commit | 7ffafd9b6473d229e712bc67e9759042a49483f7 | [log] [tgz] |
---|---|---|
author | Sebastian Głąb <sebastian.glab@nordicsemi.no> | Wed Mar 13 14:53:54 2024 +0100 |
committer | David Leach <david.leach@nxp.com> | Tue Mar 19 18:00:24 2024 -0500 |
tree | 7b36079e147098d255a14b44ab31c8dffbce0051 | |
parent | 313d135cb2469f7e69a92bd138435f7c71a659a9 [diff] |
drivers: watchdog: wdt_nrfx.c: Fix error code value Align driver implementation to the watchdog driver API. https://docs.zephyrproject.org/latest/hardware/peripherals/watchdog.html int wdt_disable(const struct device *dev) shall return: 0 – If successful. -EFAULT – If watchdog instance is not enabled. -EPERM – If watchdog can not be disabled directly by application code. -errno – In case of any other failure. Signed-off-by: Sebastian Głąb <sebastian.glab@nordicsemi.no>