Revision e66111dc configurations/HelloWorld/modules/NUCLEO-F401RE/mainincludes.hpp

View differences:

configurations/HelloWorld/modules/NUCLEO-F401RE/mainincludes.hpp
27 27
static urt_node_t hellosvenja_node;
28 28
static urt_node_t hellothomas_node;
29 29

  
30
#define AMIROOS_CFG_MAIN_INIT_HOOK_3() {                                              \
31
    urtCoreInit();                                                                    \
32
    helloWorldInit(&hellosvenja_node, (urt_osThread_t*)hellosvenja_thread, NULL);     \
33
    helloWorldInit(&hellothomas_node, (urt_osThread_t*)hellothomas_thread, NULL);     \
30
#define AMIROOS_CFG_MAIN_INIT_HOOK_3() {                                                   \
31
    urtCoreInit();                                                                         \
32
    char temp = 's';                                                                       \
33
    char temp2 = 't';                                                                      \
34
    helloWorldInit(&hellosvenja_node, (urt_osThread_t*)hellosvenja_thread, (void*)temp);   \
35
    helloWorldInit(&hellothomas_node, (urt_osThread_t*)hellothomas_thread, (void*)temp2);  \
34 36
}
35 37

  
36 38
#define AMIROOS_CFG_MAIN_INIT_HOOK_4() {                                                \

Also available in: Unified diff