atsamd: Fix bug in sercom_pads mapping on samd21 in sercom.c

Reported by @tech2077.

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor 2021-02-01 10:55:38 -05:00
parent 74244ab0eb
commit 55185e9a7e
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ static const struct sercom_pad sercom_pads[] = {
{ 0, GPIO('A', 10), 2, 'C'},
{ 0, GPIO('A', 11), 3, 'C'},
{ 0, GPIO('A', 4), 0, 'D'},
{ 0, GPIO('A', 1), 1, 'D'},
{ 0, GPIO('A', 5), 1, 'D'},
{ 0, GPIO('A', 6), 2, 'D'},
{ 0, GPIO('A', 7), 3, 'D'},
{ 1, GPIO('A', 16), 0, 'C'},