aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsamd/sercom.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/atsamd/sercom.c')
-rw-r--r--src/atsamd/sercom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsamd/sercom.c b/src/atsamd/sercom.c
index 2d02ca44..cd1dfcd3 100644
--- a/src/atsamd/sercom.c
+++ b/src/atsamd/sercom.c
@@ -127,7 +127,7 @@ static const struct sercom_pad sercom_pads[] = {
{ 5, GPIO('B', 3), 1, 'D'},
{ 5, GPIO('B', 0), 2, 'D'},
{ 5, GPIO('B', 1), 3, 'D'},
-#elif CONFIG_MACH_SAMD51
+#elif CONFIG_MACH_SAMX5
{ 0, GPIO('A', 8), 0, 'C'},
{ 0, GPIO('A', 9), 1, 'C'},
{ 0, GPIO('A', 10), 2, 'C'},