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:
parent
85b6a28f7d
commit
7e125fe7e4
10 changed files with 11 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue