Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
RIOT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm-projects
RIOT
Commits
b9d17e38
Commit
b9d17e38
authored
10 years ago
by
Ludwig Knüpfer
Browse files
Options
Downloads
Patches
Plain Diff
tests/periph_rtt: let build fail w/o RTT
parent
4cafe7c5
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/periph_rtt/main.c
+0
-15
0 additions, 15 deletions
tests/periph_rtt/main.c
with
0 additions
and
15 deletions
tests/periph_rtt/main.c
+
0
−
15
View file @
b9d17e38
...
@@ -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
(
"
\n
RIOT RTT low-level driver test"
);
puts
(
"There are no RTT devices defined for this board!"
);
return
0
;
}
#endif
/* RTT_NUMOF */
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment