shell: fix assert in panic mode
In panic mode, the function: z_shell_fprintf is expected to be
called from an interrupt context. Therefore, the dedicated assert
cannot be checked in this case.
Fixes #38612
Signed-off-by:
Jakub Rzeszutko <jakub.rzeszutko@nordicsemi.no>
Loading
Please sign in to comment