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:
Pavel Kral 2018-10-25 15:12:29 +02:00 committed by Carles Cufí
commit a19726ee1e
3 changed files with 11 additions and 4 deletions

View file

@ -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();
}