TimJTi commented on code in PR #7702: URL: https://github.com/apache/nuttx/pull/7702#discussion_r1038292534
########## arch/arm/src/sama5/sam_adc.c: ########## @@ -1069,10 +1137,13 @@ static void sam_adc_reset(struct adc_dev_s *dev) /* Reset gain, offset, differential modes */ +#if defined (ATSAMA5D3) sam_adc_putreg(priv, SAM_ADC_CGR, 0); + #endif + sam_adc_putreg(priv, SAM_ADC_COR, 0); -#ifndef CONFIG_SAMA5_ADC_SWTRIG +#if !defined CONFIG_SAMA5_ADC_SWTRIG && !defined CONFIG_SAMA5_TSD Review Comment: done ########## arch/arm/src/sama5/sam_adc.c: ########## @@ -1069,10 +1137,13 @@ static void sam_adc_reset(struct adc_dev_s *dev) /* Reset gain, offset, differential modes */ +#if defined (ATSAMA5D3) Review Comment: done -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org