shell: Fix thread priority

Removed kconfig option for setting shell thread priority and fix
it to K_LOWEST_APPLICATION_THREAD_PRIO.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2018-12-05 07:44:24 +01:00 committed by Carles Cufí
commit 07e01cbb70
2 changed files with 1 additions and 8 deletions

View file

@ -53,13 +53,6 @@ config SHELL_STACK_SIZE
help help
Stack size for thread created for each instance. Stack size for thread created for each instance.
config SHELL_THREAD_PRIO
int "Shell thread priority"
depends on MULTITHREADING
default -2
help
Shell thread priority.
config SHELL_BACKSPACE_MODE_DELETE config SHELL_BACKSPACE_MODE_DELETE
bool "Default escape code for backspace is DELETE (0x7F)" bool "Default escape code for backspace is DELETE (0x7F)"
default y default y

View file

@ -1360,7 +1360,7 @@ int shell_init(const struct shell *shell, const void *transport_config,
shell->stack, CONFIG_SHELL_STACK_SIZE, shell->stack, CONFIG_SHELL_STACK_SIZE,
shell_thread, (void *)shell, (void *)log_backend, shell_thread, (void *)shell, (void *)log_backend,
(void *)init_log_level, (void *)init_log_level,
CONFIG_SHELL_THREAD_PRIO, 0, K_NO_WAIT); K_LOWEST_APPLICATION_THREAD_PRIO, 0, K_NO_WAIT);
k_thread_name_set(tid, shell->thread_name); k_thread_name_set(tid, shell->thread_name);