trxcon: rename DTRX logging sub-system to DTRXC

This sub-system is used for TRXC related logging, so reflect this.

Change-Id: I33c8f81e37de7ee61809610e51405a96c93536ff
This commit is contained in:
Vadim Yanitskiy 2022-07-24 01:35:42 +07:00
parent 4f2d6c40d0
commit c582aedd91
3 changed files with 5 additions and 5 deletions

View File

@ -2,13 +2,13 @@
#include <osmocom/core/logging.h>
#define DEBUG_DEFAULT "DAPP:DL1C:DL1D:DTRX:DTRXD:DSCH:DSCHD"
#define DEBUG_DEFAULT "DAPP:DL1C:DL1D:DTRXC:DTRXD:DSCH:DSCHD"
enum {
DAPP,
DL1C,
DL1D,
DTRX,
DTRXC,
DTRXD,
DSCH,
DSCHD,

View File

@ -42,8 +42,8 @@ static struct log_info_cat trx_log_info_cat[] = {
.color = "\033[1;31m",
.enabled = 1, .loglevel = LOGL_NOTICE,
},
[DTRX] = {
.name = "DTRX",
[DTRXC] = {
.name = "DTRXC",
.description = "Transceiver control interface",
.color = "\033[1;33m",
.enabled = 1, .loglevel = LOGL_NOTICE,

View File

@ -81,7 +81,7 @@ static struct osmo_fsm trx_fsm = {
.name = "trx_interface",
.states = trx_fsm_states,
.num_states = ARRAY_SIZE(trx_fsm_states),
.log_subsys = DTRX,
.log_subsys = DTRXC,
.event_names = trx_evt_names,
};