From 90891545d1147e23c4dc901a252f3d440f4368d9 Mon Sep 17 00:00:00 2001 From: jake Date: Sun, 23 Feb 2025 10:00:38 -0800 Subject: [PATCH] Added code to pass the `ADC_Disable()` function. --- src/ADC/ADC.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ADC/ADC.c b/src/ADC/ADC.c index 0893392..529498c 100644 --- a/src/ADC/ADC.c +++ b/src/ADC/ADC.c @@ -82,7 +82,7 @@ void ADC_Enable(void) { void ADC_Disable() { // Clear the enable ADC flag - // RegEdit_ClearBit((void *)&ADC0.CTRLA, 0); + RegEdit_ClearBit((void *)&ADCSRA, ADEN); } void ADC_SetPin(uint8_t adc_chan) {