From 7cea2f536ea510c1467af932fb2d53c95b75798d Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Thu, 16 Oct 2014 19:02:18 +0200 Subject: [PATCH] tests/periph_gpio: let build fail without GPIO --- tests/periph_gpio/main.c | 14 -------------- 1 file changed, 14 deletions(-) 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 */