Revision 492608e6
src/urt_core.c | ||
---|---|---|
52 | 52 |
{ |
53 | 53 |
urt_core_t._nodes = NULL; |
54 | 54 |
urt_core_t._status = URT_STATUS_OK; |
55 |
//add later: mutex and eventsource init |
|
55 |
urtEventSourceInit(urt_core_t._evtSource); |
|
56 |
urtMutexInit(urt_core_t._lock); |
|
56 | 57 |
#if (URT_CFG_PUBSUB_ENABLED) |
57 | 58 |
urt_core_t._topics = NULL; |
58 | 59 |
#endif /* URT_CFG_PUBSUB_ENABLED */ |
urtware.h | ||
---|---|---|
96 | 96 |
* TODO: Add further µRtWare includes here (e.g. urt_core.h). |
97 | 97 |
*/ |
98 | 98 |
#include <urt_core.h> |
99 |
#include <urt_node.h> |
|
100 |
|
|
99 | 101 |
|
100 | 102 |
#endif /* URTWARE_H */ |
Also available in: Unified diff