raiden00pl commented on code in PR #19520:
URL: https://github.com/apache/nuttx/pull/19520#discussion_r3645083404
##########
arch/arm/src/common/stm32/stm32_exti_gpio_m0_v1.c:
##########
@@ -274,6 +275,16 @@ int stm32_gpiosetevent(uint32_t pinset, bool risingedge,
bool fallingedge,
if (i == nshared)
{
+ /* remove any leftover callback */
Review Comment:
could you port this change to all STM32 ports? it can be simple copy-paste,
all STM32 use the same driver for EXTI GPIO.
- src/common/stm32/stm32_exti_gpio_m3m4_v1v2.c
- src/stm32f7/stm32_exti_gpio.c
- src/stm32h7/stm32_exti_gpio.c
- src/stm32l4/stm32l4_exti_gpio.c
- src/stm32l5/stm32l5_exti_gpio.c
- src/stm32u5/stm32_exti_gpio.c
- src/stm32wb/stm32wb_exti_gpio.c
- src/stm32wl5/stm32wl5_exti_gpio.c
--
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]