mirror of
https://gitea.osmocom.org/cellular-infrastructure/osmo-trx.git
synced 2025-10-23 08:22:00 +00:00
lms: Use define LMS_LOG_CRITICAL instead of value
The define is available since v20.01.0 [1] [1] https://github.com/myriadrf/LimeSuite/pull/275 Change-Id: Ie5bb99a76580c5780a24f190682700c5e69b3d85
This commit is contained in:
@@ -150,7 +150,7 @@ static void lms_log_callback(int lvl, const char *msg)
|
||||
{
|
||||
/* map lime specific log levels */
|
||||
static const int lvl_map[5] = {
|
||||
[0] = LOGL_FATAL,
|
||||
[LMS_LOG_CRITICAL] = LOGL_FATAL,
|
||||
[LMS_LOG_ERROR] = LOGL_ERROR,
|
||||
[LMS_LOG_WARNING] = LOGL_NOTICE,
|
||||
[LMS_LOG_INFO] = LOGL_INFO,
|
||||
|
Reference in New Issue
Block a user