From 1e2c0105e2aab1a5ac7ad46bd427a69b54b7641c Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Fri, 23 Nov 2018 14:39:51 +0100 Subject: lms: Apply LMS->OSMO log level conversion Change-Id: I3a8fbcc7cacebc7038c60175a8ae43b21f713cbb --- Transceiver52M/device/lms/LMSDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3