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


##########
arch/arm/src/common/stm32/stm32_capture_m3m4_v1.c:
##########
@@ -1202,26 +1191,18 @@ static uint32_t stm32_cap_getcapture(struct 
stm32_cap_dev_s *dev,
       case STM32_CAP_CHANNEL_COUNTER:
         offset = STM32_GTIM_CNT_OFFSET;
         break;
-#ifdef HAVE_CH1IN
       case 1:

Review Comment:
   @darrylring did you notice some flash usage increase after removing these 
HAVE_CHxIN ? Membrowse didn't detect it, probably because none those tested 
boards are using input capture



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