generated from TDD-Templates/cmake_cpputest_template_avr
Added code to pass the `ADC_Disable()` function.
This commit is contained in:
parent
352ee9e6a8
commit
90891545d1
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue