Skip to content

Add INT2 case to detachInterrupt() #1191

Closed
@leres

Description

@leres

detachInterrupt() is missing the INT2 case, needed for chips such as the atmega644p.

Here's a patch that adds the necessary code when INT2 is defined:

extrapatch-hardware-arduino-cores-arduino-WInterrupts.c

Metadata

Metadata

Assignees

No one assigned

    Labels

    Component: CoreRelated to the code for the standard Arduino APIType: Bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions