hartmannathan commented on code in PR #20843:
URL: https://github.com/apache/nuttx/pull/20843#discussion_r4330386828
##########
arch/arm/src/stm32h7/stm32_capture.c:
##########
@@ -1567,14 +1481,6 @@ static inline const struct stm32_cap_priv_s *
stm32_cap_get_priv(int timer)
case 9:
return &stm32_tim9_priv;
#endif
Review Comment:
Ditto?
```suggestion
#endif
/* Note: TIM10 and TIM11 do not exist on STM32H7 */
```
##########
arch/arm/src/stm32h7/stm32_capture.c:
##########
@@ -1436,30 +1374,6 @@ const struct stm32_cap_priv_s stm32_tim9_priv =
};
#endif
Review Comment:
For consistency, shall we have the same comment here as in other places?
```suggestion
/* Note: TIM10 and TIM11 do not exist on STM32H7 */
```
--
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]