diff options
author | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-07-24 20:15:45 +0700 |
---|---|---|
committer | Vadim Yanitskiy <vyanitskiy@sysmocom.de> | 2022-07-25 19:53:51 +0700 |
commit | 4a4bc0ed6e6d8890e192f6c099e6fa20c69c42a6 (patch) | |
tree | d0d484ea8858aeb8ff5f207e9cc69c7777046a7d /src/host/trxcon | |
parent | c582aedd91106ea259df0843bb79434d82430123 (diff) |
trxcon: get rid of DEBUG_DEFAULT, give an example
Change-Id: If2d2afb18238df89aa4cdaed9a38810f647b3189
Diffstat (limited to 'src/host/trxcon')
-rw-r--r-- | src/host/trxcon/include/osmocom/bb/trxcon/logging.h | 2 | ||||
-rw-r--r-- | src/host/trxcon/src/trxcon.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/src/host/trxcon/include/osmocom/bb/trxcon/logging.h b/src/host/trxcon/include/osmocom/bb/trxcon/logging.h index f81e1d68..617e8f16 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 0cc0de99..df411c39 100644 --- a/src/host/trxcon/src/trxcon.c +++ b/src/host/trxcon/src/trxcon.c @@ -406,7 +406,7 @@ static void print_help(void) { 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"); |