logging: Making format_table static const
Add static const to format_table. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
fcb32090ea
commit
b74397db13
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ LOG_MODULE_REGISTER(log);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef CONFIG_LOG1
|
#ifndef CONFIG_LOG1
|
||||||
log_format_func_t format_table[] = {
|
static const log_format_func_t format_table[] = {
|
||||||
[LOG_OUTPUT_TEXT] = log_output_msg2_process,
|
[LOG_OUTPUT_TEXT] = log_output_msg2_process,
|
||||||
[LOG_OUTPUT_SYST] = IS_ENABLED(CONFIG_LOG_MIPI_SYST_ENABLE) ?
|
[LOG_OUTPUT_SYST] = IS_ENABLED(CONFIG_LOG_MIPI_SYST_ENABLE) ?
|
||||||
log_output_msg2_syst_process : NULL,
|
log_output_msg2_syst_process : NULL,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue