Repository: incubator-mynewt-core Updated Branches: refs/heads/develop 7066db440 -> 94737dee6
add watchdog implementation for nordic, simplify hal_watchdog by making hal_watchdog_enable() return void. Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/9714934a Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/9714934a Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/9714934a Branch: refs/heads/develop Commit: 9714934ad05037585f6a14c8a7b38023f2e85b7a Parents: 7066db4 Author: Sterling Hughes <sterl...@apache.org> Authored: Thu Sep 22 14:14:51 2016 -0700 Committer: Sterling Hughes <sterl...@apache.org> Committed: Thu Sep 22 14:14:51 2016 -0700 ---------------------------------------------------------------------- hw/hal/include/hal/hal_watchdog.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/9714934a/hw/hal/include/hal/hal_watchdog.h ---------------------------------------------------------------------- diff --git a/hw/hal/include/hal/hal_watchdog.h b/hw/hal/include/hal/hal_watchdog.h index e0161ce..973f40d 100644 --- a/hw/hal/include/hal/hal_watchdog.h +++ b/hw/hal/include/hal/hal_watchdog.h @@ -35,10 +35,8 @@ int hal_watchdog_init(int expire_secs); /* * Starts the watchdog. - * - * @return 0 on success; non-zero on failure. */ -int hal_watchdog_enable(void); +void hal_watchdog_enable(void); /* * Tickles the watchdog. Needs to be done before 'expire_secs' fires.