Skip to content

code should disable interrupts to ensure reset occurs. #2

@bperrybap

Description

@bperrybap

While it is bad practice to reset the watchdog timer in an ISR some people do it, so in order to be completely bulletproof, this code should disable interrupts.
i.e. add noInterrupts(); just above the wdt_enable() call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions