logger: console: init rtt only once
As RTT is used by more subsystem in Zephyr, initialization is moved from RTT console and RTT logger backend to common kernel init phase. Signed-off-by: Pavel Kral <pavel.kral@omsquare.com>
This commit is contained in:
parent
9eba380cf7
commit
a19726ee1e
3 changed files with 11 additions and 4 deletions
|
@ -208,8 +208,6 @@ static void log_backend_rtt_cfg(void)
|
|||
|
||||
static void log_backend_rtt_init(void)
|
||||
{
|
||||
SEGGER_RTT_Init();
|
||||
|
||||
if (CONFIG_LOG_BACKEND_RTT_BUFFER > 0) {
|
||||
log_backend_rtt_cfg();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue