kernel: Cleanup logger setup in kernel files
Most of kernel files where declaring os module without providing log level. Because of that default log level was used instead of CONFIG_KERNEL_LOG_LEVEL. Signed-off-by: Krzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
This commit is contained in:
parent
82a6a467ec
commit
3ed8083dc1
31 changed files with 34 additions and 45 deletions
|
@ -12,10 +12,8 @@
|
|||
#include <stdbool.h>
|
||||
#include <spinlock.h>
|
||||
#include <sys/libc-hooks.h>
|
||||
|
||||
#define LOG_LEVEL CONFIG_KERNEL_LOG_LEVEL
|
||||
#include <logging/log.h>
|
||||
LOG_MODULE_DECLARE(os);
|
||||
LOG_MODULE_DECLARE(os, CONFIG_KERNEL_LOG_LEVEL);
|
||||
|
||||
struct k_spinlock z_mem_domain_lock;
|
||||
static uint8_t max_partitions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue