logging: Add backend parameter to the init function

Added backend parameter to the backend init interface function.

Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
Krzysztof Chruscinski 2021-01-29 17:25:55 +01:00 committed by Anas Nashif
commit 7e125fe7e4
10 changed files with 11 additions and 10 deletions

View file

@ -250,7 +250,7 @@ static void log_backend_rtt_cfg(void)
SEGGER_RTT_MODE_NO_BLOCK_SKIP);
}
static void log_backend_rtt_init(void)
static void log_backend_rtt_init(struct log_backend const *const backend)
{
if (CONFIG_LOG_BACKEND_RTT_BUFFER > 0) {
log_backend_rtt_cfg();