added reset when modifying adc config