fixeria has submitted this change. (
https://gerrit.osmocom.org/c/osmocom-bb/+/28774 )
Change subject: trxcon: get rid of DEBUG_DEFAULT, give an example
......................................................................
trxcon: get rid of DEBUG_DEFAULT, give an example
Change-Id: If2d2afb18238df89aa4cdaed9a38810f647b3189
---
M src/host/trxcon/include/osmocom/bb/trxcon/logging.h
M src/host/trxcon/src/trxcon.c
2 files changed, 1 insertion(+), 3 deletions(-)
Approvals:
Jenkins Builder: Verified
pespin: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
diff --git a/src/host/trxcon/include/osmocom/bb/trxcon/logging.h
b/src/host/trxcon/include/osmocom/bb/trxcon/logging.h
index f81e1d6..617e8f1 100644
--- a/src/host/trxcon/include/osmocom/bb/trxcon/logging.h
+++ b/src/host/trxcon/include/osmocom/bb/trxcon/logging.h
@@ -2,8 +2,6 @@
#include <osmocom/core/logging.h>
-#define DEBUG_DEFAULT "DAPP:DL1C:DL1D:DTRXC:DTRXD:DSCH:DSCHD"
-
enum {
DAPP,
DL1C,
diff --git a/src/host/trxcon/src/trxcon.c b/src/host/trxcon/src/trxcon.c
index 0cc0de9..df411c3 100644
--- a/src/host/trxcon/src/trxcon.c
+++ b/src/host/trxcon/src/trxcon.c
@@ -406,7 +406,7 @@
{
printf(" Some help...\n");
printf(" -h --help this text\n");
- printf(" -d --debug Change debug flags. Default: %s\n",
DEBUG_DEFAULT);
+ printf(" -d --debug Change debug flags (e.g. DL1C:DSCH)\n");
printf(" -b --trx-bind TRX bind IP address (default 0.0.0.0)\n");
printf(" -i --trx-remote TRX remote IP address (default 127.0.0.1)\n");
printf(" -p --trx-port Base port of TRX instance (default 6700)\n");
1 is the latest approved patch-set.
No files were changed between the latest approved patch-set and the submitted one.
--
To view, visit
https://gerrit.osmocom.org/c/osmocom-bb/+/28774
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-Change-Id: If2d2afb18238df89aa4cdaed9a38810f647b3189
Gerrit-Change-Number: 28774
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-MessageType: merged