aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2019-09-16 10:49:08 -0400
committerKevin O'Connor <kevin@koconnor.net>2019-09-16 10:50:24 -0400
commitc780537c572de705769fed98948c45134a02ff3e (patch)
tree6476f5c3aaecd2ee00fa1c4363e009b5f1ac23dd
parent661fb613c7c3ccdd242121aa7e18c8213f5909ea (diff)
downloadkutter-c780537c572de705769fed98948c45134a02ff3e.tar.gz
kutter-c780537c572de705769fed98948c45134a02ff3e.tar.xz
kutter-c780537c572de705769fed98948c45134a02ff3e.zip
atsam: Add missing PB21 pin to ADC module
Reported by @mental405. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
-rw-r--r--src/atsam/adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsam/adc.c b/src/atsam/adc.c
index 150ac011..73dfcd59 100644
--- a/src/atsam/adc.c
+++ b/src/atsam/adc.c
@@ -17,7 +17,7 @@ static const uint8_t adc_pins[] = {
GPIO('A', 2), GPIO('A', 3), GPIO('A', 4), GPIO('A', 6),
GPIO('A', 22), GPIO('A', 23), GPIO('A', 24), GPIO('A', 16),
GPIO('B', 12), GPIO('B', 13), GPIO('B', 17), GPIO('B', 18),
- GPIO('B', 19), GPIO('B', 20)
+ GPIO('B', 19), GPIO('B', 20), GPIO('B', 21)
#elif CONFIG_MACH_SAM4S
GPIO('A', 17), GPIO('A', 18), GPIO('A', 19), GPIO('A', 20),
GPIO('B', 0), GPIO('B', 1), GPIO('B', 2), GPIO('B', 3),