Skip to content

[SPI] Fix interrupt mask to block #315

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

Merged
merged 1 commit into from
Mar 20, 2018

Conversation

ggajoch
Copy link
Contributor

@ggajoch ggajoch commented Mar 15, 2018

Digital pin number is not equivalent to SAMD interrupt number (in EIC module).
Mapping is provided by g_APinDescription pin map.

However, this solution assumes that interrupt number is equal to digital pin number (which holds true for SAMD devices):

#define digitalPinToInterrupt(P) ( P )

Fix for #316.

@sandeepmistry sandeepmistry merged commit 2facbf6 into arduino:master Mar 20, 2018
@sandeepmistry
Copy link
Contributor

@ggajoch thank you!

@sandeepmistry sandeepmistry added this to the Release 1.6.19 milestone Mar 20, 2018
@ggajoch ggajoch deleted the spi_interrupt_block_fix branch March 20, 2018 15:10
boseji pushed a commit to go-ut/combined-ArduinoCore-samd that referenced this pull request Jan 20, 2022
add -Werror=return-type for all warning options
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

Successfully merging this pull request may close these issues.

3 participants