diff options
author | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-11-23 14:39:51 +0100 |
---|---|---|
committer | Pau Espin Pedrol <pespin@sysmocom.de> | 2018-11-23 14:39:51 +0100 |
commit | 1e2c0105e2aab1a5ac7ad46bd427a69b54b7641c (patch) | |
tree | d9dea5c2a08644d273b9a195c433fbdd4d9839ba | |
parent | 32b3c2e4b279a40b3ed4ede87597ee0e5f0d7f90 (diff) |
lms: Apply LMS->OSMO log level conversion
Change-Id: I3a8fbcc7cacebc7038c60175a8ae43b21f713cbb
-rw-r--r-- | Transceiver52M/device/lms/LMSDevice.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp index 318df17..0a6c4a2 100644 --- a/Transceiver52M/device/lms/LMSDevice.cpp +++ b/Transceiver52M/device/lms/LMSDevice.cpp @@ -71,7 +71,7 @@ static void lms_log_callback(int lvl, const char *msg) if ((unsigned int) lvl >= ARRAY_SIZE(lvl_map)) lvl = ARRAY_SIZE(lvl_map)-1; - LOGLV(DLMS, lvl) << msg; + LOGLV(DLMS, lvl_map[lvl]) << msg; } static void thread_enable_cancel(bool cancel) |