From 41f749ce8b46d98805f57c3bca6a52430f73cd6c Mon Sep 17 00:00:00 2001 From: Kiara Navarro Date: Sat, 5 Oct 2024 11:42:38 -0300 Subject: [PATCH] lorawan: unify logging level All the remaining modules uses LOG_MODULE_REGISTER(, ) Lets update the logging registration as the other modules are doing it. Signed-off-by: Kiara Navarro --- subsys/lorawan/lorawan.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/subsys/lorawan/lorawan.c b/subsys/lorawan/lorawan.c index b37f24a7cdd..8a4830a37e2 100644 --- a/subsys/lorawan/lorawan.c +++ b/subsys/lorawan/lorawan.c @@ -52,9 +52,8 @@ /* Use version 1.0.3.0 for ABP */ #define LORAWAN_ABP_VERSION 0x01000300 -#define LOG_LEVEL CONFIG_LORAWAN_LOG_LEVEL #include -LOG_MODULE_REGISTER(lorawan); +LOG_MODULE_REGISTER(lorawan, CONFIG_LORAWAN_LOG_LEVEL); K_SEM_DEFINE(mlme_confirm_sem, 0, 1); K_SEM_DEFINE(mcps_confirm_sem, 0, 1);