aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2017-08-22 12:19:05 -0700
committerDan Halbert <halbert@halwitz.org>2017-08-22 15:19:05 -0400
commit45a31b1c2abc4cc6631665833217ea7ef3b9ecbf (patch)
tree5a3d94157a68a5162d9d5ca5f3693640b3d89a3a
parentc281b44cbdc22709a639cee1fc072f37568848aa (diff)
Fix ADC input def for PB07. (#195)
Fixes #194
-rw-r--r--atmel-samd/samd21_pins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/atmel-samd/samd21_pins.c b/atmel-samd/samd21_pins.c
index e2a99f620..cd66b41ee 100644
--- a/atmel-samd/samd21_pins.c
+++ b/atmel-samd/samd21_pins.c
@@ -119,7 +119,7 @@ PIN(PB06, EXTINT_CHANNEL(6), ADC_INPUT(ADC_POSITIVE_INPUT_PIN14), TOUCH(12),
NO_SERCOM);
#endif
#ifdef PIN_PB07
-PIN(PB07, EXTINT_CHANNEL(7), TOUCH(ADC_POSITIVE_INPUT_PIN15), TOUCH(13),
+PIN(PB07, EXTINT_CHANNEL(7), ADC_INPUT(ADC_POSITIVE_INPUT_PIN15), TOUCH(13),
NO_TIMER,
NO_TIMER,
NO_SERCOM,