-
Notifications
You must be signed in to change notification settings - Fork 2k
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
cpu: samd21: fix gpio irq handling compile handling #2865
cpu: samd21: fix gpio irq handling compile handling #2865
Conversation
This fixes an issue by an PR that's not even merged? |
@OlegHahm The PR exposed a bug. |
this PR does suppress the warning, but does not fix the issue: |
Wait, if we set I do understand why it needs a rewrite ... |
@OlegHahm Could you give this a try? |
@@ -36,7 +36,7 @@ typedef struct { | |||
void *arg; /**< argument passed to the callback */ | |||
} gpio_state_t; | |||
|
|||
static gpio_state_t gpio_config[GPIO_NUMOF]; | |||
static gpio_state_t gpio_config[16]; |
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.
please replace with a non-literal
This PR alone seems to work - will test with #2852. |
ACK, please squash. |
ACK |
Third ACK. Please squash :-) |
4fadabf
to
aff2593
Compare
squashed, rebased |
And go |
cpu: samd21: fix gpio irq handling compile handling
fixes compile issue exposed in #2852 (bug shows when compiling with -Os)
(this gpio implementation needs a complete rewrite)