Added code to pass the ADC_Disable()
function.
This commit is contained in:
parent
352ee9e6a8
commit
90891545d1
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ void ADC_Enable(void) {
|
||||||
|
|
||||||
void ADC_Disable() {
|
void ADC_Disable() {
|
||||||
// Clear the enable ADC flag
|
// Clear the enable ADC flag
|
||||||
// RegEdit_ClearBit((void *)&ADC0.CTRLA, 0);
|
RegEdit_ClearBit((void *)&ADCSRA, ADEN);
|
||||||
}
|
}
|
||||||
|
|
||||||
void ADC_SetPin(uint8_t adc_chan) {
|
void ADC_SetPin(uint8_t adc_chan) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue