Small code cleanup gNB

- removed long-time commented out and unused code
- fixed logging
This commit is contained in:
cig
2020-10-27 10:39:43 +01:00
parent 29f7a5082a
commit 609844a379
2 changed files with 1 additions and 30 deletions
+1 -1
View File
@@ -1160,7 +1160,7 @@ void fill_rf_config(RU_t *ru, char *rf_config_file) {
cfg->tx_gain[i] = ru->att_tx;
cfg->rx_gain[i] = ru->max_rxgain-ru->att_rx;
cfg->configFilename = rf_config_file;
printf("channel %d, Setting tx_gain offset %f, rx_gain offset %f, tx_freq %f, rx_freq %f\n",
LOG_I(PHY, "Channel %d: setting tx_gain offset %f, rx_gain offset %f, tx_freq %d Hz, rx_freq %d Hz\n",
i, cfg->tx_gain[i],
cfg->rx_gain[i],
cfg->tx_freq[i],