diff --git a/tests/periph_gpio/main.c b/tests/periph_gpio/main.c index fdd0690131..f9955f2c3a 100644 --- a/tests/periph_gpio/main.c +++ b/tests/periph_gpio/main.c @@ -25,9 +25,6 @@ #include "periph/gpio.h" #include "hwtimer.h" -/* only compile this if at least one GPIO device is defined */ -#if GPIO_NUMOF - uint32_t state = 0; uint32_t old_state = 0; @@ -93,14 +90,3 @@ int main(void) return 0; } - -#else - -int main(void) -{ - puts("No low-level GPIO device defined for this platform."); - - return 0; -} - -#endif /* GPIO_NUMOF */