aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsam/adc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atsam/adc.c')
-rw-r--r--src/atsam/adc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/atsam/adc.c b/src/atsam/adc.c
index 425d60a9..d5e74676 100644
--- a/src/atsam/adc.c
+++ b/src/atsam/adc.c
@@ -13,12 +13,12 @@
#include "sched.h" // sched_shutdown
static const uint8_t adc_pins[] = {
-#if CONFIG_MACH_SAM3X8E
+#if CONFIG_MACH_SAM3X
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)
-#elif CONFIG_MACH_SAM4S8C
+#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),
GPIO('A', 21), GPIO('A', 22), GPIO('C', 13), GPIO('C', 15),