Skip to content

Fix watchdog timing constants for mega8#20

Open
stromnet wants to merge 1 commit into
M-o-a-T:masterfrom
stromnet:watchdog-m8-fix
Open

Fix watchdog timing constants for mega8#20
stromnet wants to merge 1 commit into
M-o-a-T:masterfrom
stromnet:watchdog-m8-fix

Conversation

@stromnet
Copy link
Copy Markdown
Contributor

The timing constant 0x09 is valid for mega88 (4s) but not mega8, where we only have three bits. 0x09 & 0x7 => 0x1, which means 32.5ms.

Changed to use proper defines.

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