Browse Source

lorawan: unify logging level

All the remaining modules uses LOG_MODULE_REGISTER(<module>, <log level>)

Lets update the logging registration as the other modules are doing it.

Signed-off-by: Kiara Navarro <sophiekovalevsky@fedoraproject.org>
pull/79775/head
Kiara Navarro 9 months ago committed by Henrik Brix Andersen
parent
commit
41f749ce8b
  1. 3
      subsys/lorawan/lorawan.c

3
subsys/lorawan/lorawan.c

@ -52,9 +52,8 @@ @@ -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 <zephyr/logging/log.h>
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);

Loading…
Cancel
Save