Skip to content
Snippets Groups Projects
Commit b9d17e38 authored by Ludwig Knüpfer's avatar Ludwig Knüpfer
Browse files

tests/periph_rtt: let build fail w/o RTT

parent 4cafe7c5
Branches
No related tags found
No related merge requests found
...@@ -28,9 +28,6 @@ ...@@ -28,9 +28,6 @@
#include "periph_conf.h" #include "periph_conf.h"
#include "periph/rtt.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) #define TICKS_TO_WAIT (10 * RTT_FREQUENCY)
void cb(void *arg) void cb(void *arg)
...@@ -59,15 +56,3 @@ int main(void) ...@@ -59,15 +56,3 @@ int main(void)
puts("Done setting up the RTT, wait for many Hellos"); puts("Done setting up the RTT, wait for many Hellos");
return 0; 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 */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment