From b9d17e38f36b97cafb9989d908c9cac671565018 Mon Sep 17 00:00:00 2001 From: Ludwig Ortmann Date: Thu, 16 Oct 2014 19:24:28 +0200 Subject: [PATCH] tests/periph_rtt: let build fail w/o RTT --- tests/periph_rtt/main.c | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/tests/periph_rtt/main.c b/tests/periph_rtt/main.c index 8dcddadb5f..6d2788ccf3 100644 --- a/tests/periph_rtt/main.c +++ b/tests/periph_rtt/main.c @@ -28,9 +28,6 @@ #include "periph_conf.h" #include "periph/rtt.h" -/* only compile this test if a RTT device is defined */ -#if RTT_NUMOF - #define TICKS_TO_WAIT (10 * RTT_FREQUENCY) void cb(void *arg) @@ -59,15 +56,3 @@ int main(void) puts("Done setting up the RTT, wait for many Hellos"); return 0; } - -#else - -int main(void) -{ - puts("\nRIOT RTT low-level driver test"); - puts("There are no RTT devices defined for this board!"); - - return 0; -} - -#endif /* RTT_NUMOF */