Skip to content

Non-blocking clear() and reboot() method #8

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SokoFromNZ
Copy link

Hi,

While researching for a watchdog implementation for my MKR Zero I've found your library. Great work! I've also found this post: https://hackaday.io/project/20647-mightywatt-r3-70w-electronic-load-for-arduino/log/56143-found-and-fixed-a-bug-in-sketch-for-arduino-zero

I've implemented this non-blocking clear of the watch dog.

In addition I'm in need for a reboot() (software reset) method.
So I moved the reset you do when the Software EWT hits to a separate method WDT_ForceShutdown which gets called now from the original spot as well as from the new reboot method.

Do you see any issues?

Soko

@CptHolzschnauz CptHolzschnauz mentioned this pull request Jan 25, 2022
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

Successfully merging this pull request may close these issues.

1 participant