Skip to content

Fixed random watchdog resets

Latest
Compare
Choose a tag to compare
@dakhnod dakhnod released this 13 Jan 22:05
· 12 commits to main since this release

This release fixes a bug where the watchdog resettet the chip under certain conditions.

To be more precise, I thought that power_manage() terminates on every event, and thus fed the watchdog only after power_manage() in main.c.

Turns out that simple radio events wake up the chip, angering the watchdog. Yet, power_manage() doesn't return for those, so the watchdog is not fed.

Now the watchdog is also fed on radio events.