pespin has submitted this change. (
https://gerrit.osmocom.org/c/osmo-trx/+/15257?usp=email )
Change subject: lms: Use define LMS_LOG_CRITICAL instead of value
......................................................................
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
---
M Transceiver52M/device/lms/LMSDevice.cpp
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
pespin: Verified
osmith: Looks good to me, approved
diff --git a/Transceiver52M/device/lms/LMSDevice.cpp
b/Transceiver52M/device/lms/LMSDevice.cpp
index 7c220d2..356d950 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -150,7 +150,7 @@
{
/* 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,
--
To view, visit
https://gerrit.osmocom.org/c/osmo-trx/+/15257?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: Ie5bb99a76580c5780a24f190682700c5e69b3d85
Gerrit-Change-Number: 15257
Gerrit-PatchSet: 3
Gerrit-Owner: pespin <pespin(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: osmith <osmith(a)sysmocom.de>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>