Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttinyX4 pins_arduino.h problem with digitalPinToPCICR( #28

Open
jcfoster opened this issue Jan 12, 2023 · 1 comment
Open

AttinyX4 pins_arduino.h problem with digitalPinToPCICR( #28

jcfoster opened this issue Jan 12, 2023 · 1 comment

Comments

@jcfoster
Copy link

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))

sleemanj added a commit to sleemanj/ATTinyCore that referenced this issue Jan 12, 2023
@sleemanj
Copy link
Owner

Thanks, I have committed that fix to the main repo. I should do a release at some point.

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

No branches or pull requests

2 participants