Skip to content
Commit fc9f59ce authored by Damian Krolik's avatar Damian Krolik Committed by Fabio Baltieri
Browse files

shell: fix synchronization in log immediate mode



When LOG_MODE_IMMEDIATE is used, logs processed by the shell
log backend may be intertwined with messages printed by
shell commands running on the shell thread.

It is because the shell uses a mutex while the shell log
backend uses the IRQ lock for synchronization. Switch the
latter to use the mutex as well whenever it's possible.

Signed-off-by: default avatarDamian Krolik <damian.krolik@nordicsemi.no>
parent 1cce3535
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment