Skip to content
Commit 92fbd7da authored by Andreas Rudolf's avatar Andreas Rudolf Committed by Carles Cufí
Browse files

Bluetooth: shell: Register callbacks dynamically



Bluetooth callbacks are now registered dynamically again. When Bluetooth
callbacks were registered statically, they could be invoked before the
Bluetooth shell (ctx_shell) is initialized. The callbacks try to
shell_print(ctx_shell, ...), which results in a fatal error if ctx_shell
is undefined.

Fixes #40881.

Signed-off-by: default avatarAndreas Rudolf <andreas.rudolf@husqvarnagroup.com>
parent 646951a2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment