Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix WDIE being wrongly cleared in Interrupt Mode
WDIE must be automatically cleared only in "Interrupt and System Reset Mode" (where it's used to transition to "System Reset Mode"). In other modes, watchdog interrupt must not clear WDIE. Strictly speaking, the modified condition also clears it in "System Reset Mode" as well, but the system is reset on interrupt anyway, so it doesn't matter. See buserror#456
- Loading branch information