aboutsummaryrefslogtreecommitdiffstats
path: root/Transceiver52M/device
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-08-26 17:11:12 +0200
committerPau Espin Pedrol <pespin@sysmocom.de>2019-08-26 17:13:23 +0200
commit77f3396d0411c19f1846496e2c3e85e4ae6aa31f (patch)
tree9a24a1870f64cbfd0eb3aece892b1df240349d8b /Transceiver52M/device
parente0010fa425b7b24850f5f9eca258405b08923535 (diff)
device: Use LOGCHAN in set_antennas()
Diffstat (limited to 'Transceiver52M/device')
-rw-r--r--Transceiver52M/device/common/radioDevice.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/Transceiver52M/device/common/radioDevice.h b/Transceiver52M/device/common/radioDevice.h
index e637611..b4928f2 100644
--- a/Transceiver52M/device/common/radioDevice.h
+++ b/Transceiver52M/device/common/radioDevice.h
@@ -187,9 +187,9 @@ class RadioDevice {
for (i = 0; i < tx_paths.size(); i++) {
if (tx_paths[i] == "")
continue;
- LOG(DEBUG) << "Configuring channel " << i << " with antenna " << tx_paths[i];
+ LOGCHAN(i, DDEV, DEBUG) << "Configuring Tx antenna " << tx_paths[i];
if (!setTxAntenna(tx_paths[i], i)) {
- LOG(ALERT) << "Failed configuring channel " << i << " with antenna " << tx_paths[i];
+ LOGCHAN(i, DDEV, ALERT) << "Failed configuring Tx antenna " << tx_paths[i];
return false;
}
}
@@ -197,9 +197,9 @@ class RadioDevice {
for (i = 0; i < rx_paths.size(); i++) {
if (rx_paths[i] == "")
continue;
- LOG(DEBUG) << "Configuring channel " << i << " with antenna " << rx_paths[i];
+ LOGCHAN(i, DDEV, DEBUG) << "Configuring Rx antenna " << rx_paths[i];
if (!setRxAntenna(rx_paths[i], i)) {
- LOG(ALERT) << "Failed configuring channel " << i << " with antenna " << rx_paths[i];
+ LOGCHAN(i, DDEV, ALERT) << "Failed configuring Rx antenna " << rx_paths[i];
return false;
}
}