aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2018-11-23 14:39:51 +0100
committerPau Espin Pedrol <pespin@sysmocom.de>2018-11-23 14:39:51 +0100
commit1e2c0105e2aab1a5ac7ad46bd427a69b54b7641c (patch)
treed9dea5c2a08644d273b9a195c433fbdd4d9839ba
parentlms: Use LimeSuite.h log level defines instead of hardcoded values (diff)
downloadOsmoTRX-1e2c0105e2aab1a5ac7ad46bd427a69b54b7641c.tar.xz
OsmoTRX-1e2c0105e2aab1a5ac7ad46bd427a69b54b7641c.zip
lms: Apply LMS->OSMO log level conversion
Change-Id: I3a8fbcc7cacebc7038c60175a8ae43b21f713cbb
-rw-r--r--Transceiver52M/device/lms/LMSDevice.cpp2
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)