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
board/iot-lab_M3: clean up and GPIO definitions in periph_conf.h #1757
Conversation
I just had an idea for making this even nicer: as |
0de75ba
to
9e27ead
Compare
I also added using |
@@ -1023,7 +1023,7 @@ __attribute__((naked)) void isr_exti0(void) | |||
ISR_ENTER(); | |||
if (EXTI->PR & EXTI_PR_PR0) { | |||
EXTI->PR |= EXTI_PR_PR0; /* clear status bit by writing a 1 to it */ | |||
config[GPIO_0].cb(config[GPIO_0].arg); | |||
config[GPIO_0_PIN].cb(config[GPIO_0_PIN].arg); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these look strange, I think the original version was correct?!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be config[GPIO_IRQ_0].cb(config[GPIO_IRQ_0].arg);
will get further additions |
Cleanup included in #1756. |
No description provided.