Skip to content
Commit 4653b4e6 authored by Andrew Fernandes's avatar Andrew Fernandes Committed by Carles Cufí
Browse files

logging: set 'log_backend_rtt:panic_mode' before 'log_backend_std_panic'



Set 'log_backend_rtt:panic_mode' before calling 'log_backend_std_panic',
because otherwise the RTT backend behaves as if the system is NOT
panicking and tries to do asynchronous writes via RTT_LOCK/UNLOCK.

Signed-Off-By: default avatarAndrew Fernandes <andrew@fernandes.org>
parent 79ff37b9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment