aboutsummaryrefslogtreecommitdiffstats
path: root/src/osmo-bts-trx/trx_vty.c
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2020-07-22 14:08:26 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2020-07-22 18:47:52 +0200
commit3f4588273d94b8e752172fe8e3e2889cf200c498 (patch)
treec4e856f65742928e9b75635d68b2fdb319295804 /src/osmo-bts-trx/trx_vty.c
parent7bda77928c0e08d4b1ab1efe3e1284fa372779ea (diff)
bts-trx: Use bool type for on/off state variables
Diffstat (limited to 'src/osmo-bts-trx/trx_vty.c')
-rw-r--r--src/osmo-bts-trx/trx_vty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osmo-bts-trx/trx_vty.c b/src/osmo-bts-trx/trx_vty.c
index fb75a4e5..6b8ca77a 100644
--- a/src/osmo-bts-trx/trx_vty.c
+++ b/src/osmo-bts-trx/trx_vty.c
@@ -245,7 +245,7 @@ DEFUN(cfg_phyinst_maxdly, cfg_phyinst_maxdly_cmd,
l1h->config.maxdly = atoi(argv[0]);
l1h->config.maxdly_valid = 1;
- l1h->config.maxdly_sent = 0;
+ l1h->config.maxdly_sent = false;
l1if_provision_transceiver_trx(l1h);
return CMD_SUCCESS;
@@ -271,7 +271,7 @@ DEFUN(cfg_phyinst_maxdlynb, cfg_phyinst_maxdlynb_cmd,
l1h->config.maxdlynb = atoi(argv[0]);
l1h->config.maxdlynb_valid = 1;
- l1h->config.maxdlynb_sent = 0;
+ l1h->config.maxdlynb_sent = false;
l1if_provision_transceiver_trx(l1h);
return CMD_SUCCESS;
@@ -358,7 +358,7 @@ DEFUN(cfg_phyinst_rxgain, cfg_phyinst_rxgain_cmd,
l1h->config.rxgain = atoi(argv[0]);
l1h->config.rxgain_valid = 1;
- l1h->config.rxgain_sent = 0;
+ l1h->config.rxgain_sent = false;
l1if_provision_transceiver_trx(l1h);
return CMD_SUCCESS;