Added code to pass the `ADC_Disable()` function.

This commit is contained in:
Jake Goodwin 2025-02-23 10:00:38 -08:00
parent 352ee9e6a8
commit 90891545d1
1 changed files with 1 additions and 1 deletions

View File

@ -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) {