Revision ee6c9a9f apps/HelloWorld/helloworld.c
apps/HelloWorld/helloworld.c | ||
---|---|---|
29 | 29 |
urt_osEventMask_t helloSetup(urt_node_t* node, void* arg) |
30 | 30 |
{ |
31 | 31 |
urtPrintf("Hello %c setup!\n", arg); |
32 |
urtThreadSleep(10); |
|
32 | 33 |
return URT_EVENTMASK_ALL; |
33 | 34 |
} |
34 | 35 |
|
35 | 36 |
urt_osEventMask_t helloLoop(urt_node_t* node, urt_osEventMask_t events, void* arg) |
36 | 37 |
{ |
37 | 38 |
urtPrintf("Hello loop!\n"); |
39 |
urtThreadSleep(10); |
|
38 | 40 |
return URT_EVENTMASK_ALL; |
39 | 41 |
} |
40 | 42 |
|
Also available in: Unified diff