xiaoxiang781216 commented on code in PR #7595: URL: https://github.com/apache/incubator-nuttx/pull/7595#discussion_r1024223459
########## arch/arm/src/sama5/hardware/sam_adc.h: ########## @@ -355,7 +368,11 @@ #define ADC_INT_NOPEN (1 << 30) /* Bit 30: No Pen Contact Interrupt */ #define ADC_SR_PENS (1 << 31) /* Bit 31: Pen detect Status (SR only) */ -#define ADC_INT_ALL (0xe7f00fff) +#if defined (ATSAMA5D3) +# define ADC_INT_ALL (0xe7f00fff) +#elif defined (ATSAMA5D2) +# define ADC_INT_ALL (0x67780fff) Review Comment: ```suggestion # define ADC_INT_ALL (0x67780fff) ``` -- 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