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
parent32b3c2e4b279a40b3ed4ede87597ee0e5f0d7f90 (diff)
lms: Apply LMS->OSMO log level conversion
-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)