aboutsummaryrefslogtreecommitdiffstats
path: root/src/atsam
diff options
context:
space:
mode:
authorAlex Maclean <monkeh@monkeh.net>2022-03-28 14:37:15 +0100
committerKevinOConnor <kevin@koconnor.net>2022-03-28 10:19:58 -0400
commit91ba9c00e33a8dde38eb303e617c5f878db5922d (patch)
tree00df8d5ff5549ff4c7a6de88474a38980d1ec35e /src/atsam
parent80492432210f1cf7817b7808245d196f3420021e (diff)
downloadkutter-91ba9c00e33a8dde38eb303e617c5f878db5922d.tar.gz
kutter-91ba9c00e33a8dde38eb303e617c5f878db5922d.tar.xz
kutter-91ba9c00e33a8dde38eb303e617c5f878db5922d.zip
atsam: Fix typo in sam4e_afec
Accidentally introduced in 80492432210f1cf7817b7808245d196f3420021e, renders the AFE non-functional on SAME70. Should have had little impact on SAM4E. Signed-off-by: Alex Maclean <monkeh@monkeh.net>
Diffstat (limited to 'src/atsam')
-rw-r--r--src/atsam/sam4e_afec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/atsam/sam4e_afec.c b/src/atsam/sam4e_afec.c
index 79d681de..33fb8e90 100644
--- a/src/atsam/sam4e_afec.c
+++ b/src/atsam/sam4e_afec.c
@@ -112,7 +112,7 @@ init_afec(Afec* afec) {
afec->AFE_EMR = AFE_EMR_TAG | \
AFE_EMR_RES_NO_AVERAGE | \
AFE_EMR_STM;
- afec->AFE_ACR = CFG_AFE_MR;
+ afec->AFE_ACR = CFG_AFE_ACR;
// Disable interrupts
afec->AFE_IDR = CFG_AFE_IDR;