Skip to content

AttinyX4 pins_arduino.h problem with digitalPinToPCICR( #28

@jcfoster

Description

@jcfoster

on line 208 in pins_arduino.h the line reads as:
#define digitalPinToPCICR(p) ((p) <= 11) ? (&GIMSK) : ((uint8_t *)NULL))

Needs three open parentheses in the replacement code
should read:
#define digitalPinToPCICR(p) (((p) <= 11) ? (&GIMSK) : ((uint8_t *)NULL))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions