Skip to content

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