mirror of https://github.com/Desuuuu/klipper.git
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:
parent
8049243221
commit
91ba9c00e3
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue