Skip to content

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

Open
SokoFromNZ wants to merge 2 commits intojavos65:masterfrom
SokoFromNZ:master
Open

Non-blocking clear() and reboot() method#8
SokoFromNZ wants to merge 2 commits intojavos65:masterfrom
SokoFromNZ:master

Conversation

@SokoFromNZ
Copy link
Copy Markdown

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