diff --git a/tests/periph/selftest_shield/main.c b/tests/periph/selftest_shield/main.c index 44ce2fbab7..ad4316c95f 100644 --- a/tests/periph/selftest_shield/main.c +++ b/tests/periph/selftest_shield/main.c @@ -554,6 +554,9 @@ static bool periph_gpio_irq_test_falling(void) brief_delay(); failed |= TEST(atomic_load(&cnt) == 3); + /* disable IRQ again to not have side effects */ + gpio_irq_disable(ARDUINO_PIN_3); + print_result(failed); return failed; } @@ -617,6 +620,9 @@ static bool periph_gpio_irq_test_rising(void) brief_delay(); failed |= TEST(atomic_load(&cnt) == 3); + /* disable IRQ again to not have side effects */ + gpio_irq_disable(ARDUINO_PIN_3); + print_result(failed); return failed; }