atsam: Fix typo in sam4e_afec

Accidentally introduced in 8049243221,
renders the AFE non-functional on SAME70. Should have had little impact
on SAM4E.

Signed-off-by: Alex Maclean <monkeh@monkeh.net>
This commit is contained in:
Alex Maclean 2022-03-28 14:37:15 +01:00 committed by KevinOConnor
parent 8049243221
commit 91ba9c00e3
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ init_afec(Afec* afec) {
afec->AFE_EMR = AFE_EMR_TAG | \ afec->AFE_EMR = AFE_EMR_TAG | \
AFE_EMR_RES_NO_AVERAGE | \ AFE_EMR_RES_NO_AVERAGE | \
AFE_EMR_STM; AFE_EMR_STM;
afec->AFE_ACR = CFG_AFE_MR; afec->AFE_ACR = CFG_AFE_ACR;
// Disable interrupts // Disable interrupts
afec->AFE_IDR = CFG_AFE_IDR; afec->AFE_IDR = CFG_AFE_IDR;