diff --git a/testhal/STM32F4xx/EXT/main.c b/testhal/STM32F4xx/EXT/main.c index 9b9956bdc..e79618715 100644 --- a/testhal/STM32F4xx/EXT/main.c +++ b/testhal/STM32F4xx/EXT/main.c @@ -100,10 +100,8 @@ int main(void) { * button EXT channel using 5 seconds intervals. */ while (TRUE) { - EXTI->SWIER = 64; chThdSleepMilliseconds(5000); extChannelDisable(&EXTD1, 0); - EXTI->SWIER = 64; chThdSleepMilliseconds(5000); extChannelEnable(&EXTD1, 0); }