Skip to content

Commit 7a23263

Browse files
authored
Fix ADC input def for PB07.
Fixes adafruit#194
1 parent c281b44 commit 7a23263

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

atmel-samd/samd21_pins.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ PIN(PB06, EXTINT_CHANNEL(6), ADC_INPUT(ADC_POSITIVE_INPUT_PIN14), TOUCH(12),
119119
NO_SERCOM);
120120
#endif
121121
#ifdef PIN_PB07
122-
PIN(PB07, EXTINT_CHANNEL(7), TOUCH(ADC_POSITIVE_INPUT_PIN15), TOUCH(13),
122+
PIN(PB07, EXTINT_CHANNEL(7), ADC_INPUT(ADC_POSITIVE_INPUT_PIN15), TOUCH(13),
123123
NO_TIMER,
124124
NO_TIMER,
125125
NO_SERCOM,

0 commit comments

Comments
 (0)