Skip to content

Commit

Permalink
lms: Apply LMS->OSMO log level conversion
Browse files Browse the repository at this point in the history
Change-Id: I3a8fbcc7cacebc7038c60175a8ae43b21f713cbb
  • Loading branch information
pespin committed Nov 23, 2018
1 parent 32b3c2e commit 1e2c010
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Transceiver52M/device/lms/LMSDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1e2c010

Please sign in to comment.