acassis commented on code in PR #16707:
URL: https://github.com/apache/nuttx/pull/16707#discussion_r2197649407


##########
boards/arm/stm32/stm32f401rc-rs485/src/stm32_bringup.c:
##########
@@ -211,7 +211,7 @@ int stm32_bringup(void)
     }
 #endif
 
-#ifdef CONFIG_ADC
+#ifdef CONFIG_STM32_ADC1

Review Comment:
   Rodrigo, it is better to check both, this way if the user enable the 
peripheral ADC1 but didn't enable the ADC driver it will not compile



-- 
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

Reply via email to