wangchdo commented on code in PR #17232:
URL: https://github.com/apache/nuttx/pull/17232#discussion_r2453844736


##########
arch/arm/src/stm32h5/stm32_adc.h:
##########
@@ -113,6 +113,25 @@
 #  define ADC2_HAVE_OVERSAMPLE 1
 #endif
 
+#undef ADC_HAVE_WDG1
+#if defined(CONFIG_STM32H5_ADC1_WDG1) || defined(CONFIG_STM32H5_ADC2_WDG1)
+#  define ADC_HAVE_WDG1
+#endif

Review Comment:
   Do you think `CONFIG_ADC_HAVE_WDG1 `is better than `ADC_HAVE_WDG1`?



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to