Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Set default pinMode for CHANGE #84

Merged
merged 2 commits into from
Jun 19, 2020
Merged

Set default pinMode for CHANGE #84

merged 2 commits into from
Jun 19, 2020

Conversation

rmlearney-digicatapult
Copy link
Contributor

Use same if/else styling to set default pinMode to INPUT in case of non-RISING/FALLING interrupts.

Initially tried switch/case but this matched better, so please squash on commit.

Use switch/case statement to set pinMode to cover CHANGE (and other future interrupt types) as just INPUT
Use same nested if/else style to set default pinMode to INPUT for all non-RISING/FALLING IRQs
@facchinm facchinm merged commit 73e8e01 into arduino:beta Jun 19, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants