Revision 54a081c5

View differences:

configurations/HelloWorld/modules/NUCLEO-F401RE/osconf.h
20 20
#define OSCONF_H
21 21

  
22 22
#include <HelloWorld_osconf.h>
23
#include <helloworld.h>
23 24

  
24 25
#define OS_CFG_TESTS_ENABLE                     false
25 26

  
......
28 29
#define AMIROOS_CFG_MAIN_INIT_HOOK_4() {                        \
29 30
    aosprintf("HELLO WORLD!\n");                                \
30 31
    urtCoreInit();                                              \
32
    urt_node_t* node;                                           \
33
    urt_osThread_t* thread;                                     \
34
    urt_nodeSetupCallback_t* setupcallback;                     \
35
    void* setupparams;                                          \
36
    urt_nodeLoopCallback_t* loopcallback;                       \
37
    void* loopparams;                                           \
38
    urt_nodeShutdownCallback_t* shutdowncallback;               \
39
    void* shutdownparams;                                       \
40
    urtNodeInit(node, thread, setupcallback, setupparams, loopcallback, loopparams, shutdowncallback, shutdownparams);     \
31 41
}
32 42

  
33 43
#endif /* OSCONF_H */

Also available in: Unified diff