Skip to content
Snippets Groups Projects
Unverified Commit 77492ee9 authored by George Oikonomou's avatar George Oikonomou Committed by GitHub
Browse files

Merge pull request #716 from g-oikonomou/bugfix/timers-example

Fixed all-timers example application
parents 7f0c5b0b 9bb648f9
No related branches found
No related tags found
No related merge requests found
...@@ -79,7 +79,7 @@ PROCESS_THREAD(timer_process, ev, data) ...@@ -79,7 +79,7 @@ PROCESS_THREAD(timer_process, ev, data)
PROCESS_BEGIN(); PROCESS_BEGIN();
ctimer_set(&timer_ctimer, CLOCK_SECOND, ctimer_callback, NULL); ctimer_set(&timer_ctimer, CLOCK_SECOND, ctimer_callback, NULL);
rtimer_set(&timer_rtimer, RTIMER_NOW() + CLOCK_SECOND / 2, 0, rtimer_set(&timer_rtimer, RTIMER_NOW() + RTIMER_SECOND / 2, 0,
rtimer_callback, NULL); rtimer_callback, NULL);
while(1) { while(1) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment