This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Pau Espin Pedrol gerrit-no-reply at lists.osmocom.orgPau Espin Pedrol has uploaded this change for review. ( https://gerrit.osmocom.org/11901
Change subject: lms: Use LimeSuite.h log level defines instead of hardcoded values
......................................................................
lms: Use LimeSuite.h log level defines instead of hardcoded values
Change-Id: Iee693da1a0fa1db23deafa8d3845c04171e24799
---
M Transceiver52M/device/lms/LMSDevice.cpp
1 file changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/01/11901/1
diff --git a/Transceiver52M/device/lms/LMSDevice.cpp b/Transceiver52M/device/lms/LMSDevice.cpp
index 32c3d15..318df17 100644
--- a/Transceiver52M/device/lms/LMSDevice.cpp
+++ b/Transceiver52M/device/lms/LMSDevice.cpp
@@ -62,10 +62,10 @@
/* map lime specific log levels */
static const int lvl_map[5] = {
[0] = LOGL_FATAL,
- [1] = LOGL_ERROR,
- [2] = LOGL_NOTICE,
- [3] = LOGL_INFO,
- [4] = LOGL_DEBUG,
+ [LMS_LOG_ERROR] = LOGL_ERROR,
+ [LMS_LOG_WARNING] = LOGL_NOTICE,
+ [LMS_LOG_INFO] = LOGL_INFO,
+ [LMS_LOG_DEBUG] = LOGL_DEBUG,
};
/* protect against future higher log level values (lower importance) */
if ((unsigned int) lvl >= ARRAY_SIZE(lvl_map))
--
To view, visit https://gerrit.osmocom.org/11901
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iee693da1a0fa1db23deafa8d3845c04171e24799
Gerrit-Change-Number: 11901
Gerrit-PatchSet: 1
Gerrit-Owner: Pau Espin Pedrol <pespin at sysmocom.de>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20181123/2c76f2ec/attachment.htm>