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

@ -74,7 +74,7 @@ static void log_backend_swo_put(const struct log_backend *const backend,
log_backend_std_put(&log_output_swo, flag, msg);
}
static void log_backend_swo_init(void)
static void log_backend_swo_init(struct log_backend const *const backend)
{
/* Enable DWT and ITM units */
CoreDebug->DEMCR |= CoreDebug_DEMCR_TRCENA_Msk;