Added a termination check to the shell.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@12147 110e8d01-0319-4d1e-a829-52ad28d1bb01
This commit is contained in:
parent
a145744269
commit
32d4ce8ee4
|
@ -354,7 +354,7 @@ THD_FUNCTION(shellThread, p) {
|
|||
|
||||
chprintf(chp, SHELL_NEWLINE_STR);
|
||||
chprintf(chp, "ChibiOS/RT Shell" SHELL_NEWLINE_STR);
|
||||
while (true) {
|
||||
while (!chThdShouldTerminateX()) {
|
||||
chprintf(chp, SHELL_PROMPT_STR);
|
||||
if (shellGetLine(scfg, line, sizeof(line), shp)) {
|
||||
#if (SHELL_CMD_EXIT_ENABLED == TRUE) && !defined(_CHIBIOS_NIL_)
|
||||
|
|
|
@ -91,6 +91,7 @@
|
|||
*****************************************************************************
|
||||
|
||||
*** Next ***
|
||||
- NEW: Added a termination check to the shell.
|
||||
- NEW: Updated CMSIS to version 5.3.0.
|
||||
- NEW: Now chconf.h files have preprocessor checks around each definition,
|
||||
this allows to override settings from makefiles.
|
||||
|
|
Loading…
Reference in New Issue