Revision 0a89baf2 core/src/aos_system.c
core/src/aos_system.c | ||
---|---|---|
818 | 818 |
|
819 | 819 |
#if (AMIROOS_CFG_SHELL_ENABLE == true) |
820 | 820 |
// start system shell thread |
821 |
#if (CH_CFG_USE_THREADHIERARCHY == TRUE) |
|
822 |
aos.shell.thread = chThdCreateStatic(_shell_wa, sizeof(_shell_wa), AMIROOS_CFG_SHELL_THREADPRIO, aosShellThread, &aos.shell, &ch.mainthread); |
|
823 |
#else |
|
821 | 824 |
aos.shell.thread = chThdCreateStatic(_shell_wa, sizeof(_shell_wa), AMIROOS_CFG_SHELL_THREADPRIO, aosShellThread, &aos.shell); |
822 | 825 |
#endif |
826 |
#endif |
|
823 | 827 |
|
824 | 828 |
return; |
825 | 829 |
} |
Also available in: Unified diff